[Pythonmac-SIG] Re: [wxPython-mac] Slow module loading revisited
Jason Petrone
jpetrone at cnri.reston.va.us
Thu Oct 16 13:09:06 EDT 2003
On Wed, Oct 15, 2003 at 05:49:59PM -0700, Robin Dunn wrote:
> As in [3] Morgen has tried rebuilding both Python and libwx_mac with and
> without prebinding, with no apparent change in the startup delay. Has
> there been any further enlightenment on this subject since February? Is
> the standard MacPython-OSX downloadable from Jack's page now built with
> or without prebinding? Any suggestions?
I was able to make some improvement in load time by linking the
Carbon framework to the python executable, so it could be prebound.
This was a while ago, and I forget all the steps involved, but one thing
I had to do was compile wxMac with special flags to allow it to be
loaded into a prebound python. Otherwise I would get a DYLD_DEBUG
message like "can't load non-prebound library into prebound executable,
disabling prebinding."
Jason
More information about the Pythonmac-SIG
mailing list