[wxPython-users] Improve performance
Robin Dunn
robin at alldunn.com
Fri Aug 18 17:31:18 PDT 2006
Franz Steinhäusler wrote:
> Hello, I have converted the wxWidgets Sample
> fractal.cpp to wxPython.
>
> My questions are:
>
> 1) the wxWidgets implementation is about 5 times faster (only estimate)
> How can I improve the performance?
Profile the app to find out exactly what is taking so long, then either
move that part out to a C extension module, use psyco, or etc.
>
> 2) If I left out the EVT_SIZE event handler, the window isn't redrawn,
> but in wxWidgets it is (2.4.2)?
> Why? Is there also a change from this wxWidgets version to a current one?
Previous to 2.5 the wx.FULL_REPAINT_ON_RESIZE style was turned on by
default. Now it is not.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list