Speeding up Simple Canvas Loop

Fredrik Lundh fredrik at pythonware.com
Mon May 10 04:06:11 EDT 1999


Randall Hopper <aa8vb at vislab.epa.gov> wrote:
> Can canvas items for Tkinter canvases be created by a C extension (these
> vertices are actually coming from C code)?
> 
> The performance of this GUI app is acceptable except for the above loop,
> and it alone can literally take minutes (400-30k iterations).

for large datasets, you can often get much better performance
by drawing things in a PIL image memory, and display the result
using the ImageTk module.

</F>






More information about the Python-list mailing list