lazyimport.py introduced in pyobjc 2.4

Marc Van Olmen <[email protected]> Mon, 10 Jun 2013 18:50:07 -0400
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
hi,

Just upgraded an old pyobjc app from 2.2 to 2.5.1 and noticed that launching the app was very slow.
After using cProfile and analyzing in runsnake. I notice that lazyimport.py takes 18 seconds on the app. 
On launch the app loads a lot of views.

from Cocoa import *
I replaced them quickly just for test in the app. because this was every but this didn't help my app loading performance.

I was looking at this:
http://pythonhosted.org/pyobjc/metadata/compiled.html

And i'm wondering what is the best way to upgrade my app to take advantage of the new compiled metadata system.

thanks

marc

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev