Canvas widget getting very slow [again - raw text]

"ptk" <[email protected]> Wed, 14 Jan 2009 17:08:34 +0100
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Hi all,

I'm using a Canvas widget to emulate a raster graphics display.
I'm setting pixels by drawing lines of length 1.

Unfortunately the Canvas gets slow exponentially when
a lot of such line items are added. If there are more than
about 8000 it's getting very slow, and above 12000 it's getting
extremely slow...

If I wait until everything's drawn and then delete everything and
draw again, it is a bit faster. Maybe this points to an influence of
some cache.

Does somebody know of a solution to this. Or is there a better
widget to emulate a raster graphics display?

Thanks & kind regards,
Gerhard

P.S.: I sent this already, but it was HTML, which some people don't like
in mails. Sorry.
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk