[wxPython-users] memory usage and custom compilation

Robin Dunn robin at alldunn.com
Thu Jan 18 23:47:07 PST 2007


Kevin Watters wrote:

> My question, finally, is: has anyone done custom compilation of wxPython, taking
> out big chunks like Media, STC, XRC, XML, Net, and the DB stuff (all of which we
> make no use of) and measured the difference in (startup) memory usage?  I'm not
> entirely knowledgeable in the how the modularity of wx works, but I do know that
> all of the mentioned "sub" frameworks get their own DLLs, and that that might
> mean that their native code segments (?) are only loaded when needed. But does
> the same go for the SWIG bindings to that code?


If you don't import wx.media, wx.stc, wx.xrc modules then you won't be 
loading that code.  The wx XML code is used by the wx.xrc module, and 
Net is used by wx.html, and the DB code is already disabled by default.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list