[wxPython-users] Re: Draw method in PlotCanvas class for a number of points (>80,000) takes too much time

Christopher Barker Chris.Barker at noaa.gov
Wed Dec 13 11:59:33 PST 2006


Christian Kristukat wrote:

> Do you really think a DC implementation that can handle ndarrays will make the
> difference?

only for simple things to draw.

What about the drawing itself?

exactly -- It will help for drawing lots of points, and might for large 
polylines, I'm not sure about anything else.

We'd have to write some code and profile -- or maybe profile at the C++ 
level, but I don't know how to do that.

> If the conversion ndarray->list is
> really the bottleneck then this is one more argument to support Travi's quest on
> getting a ndarray object into python. 

Exactly. In any case, it would help for loading Images and Bitmaps.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list