From: Thomas H. <th...@py...> - 2005-11-07 17:07:59
|
For not too small py2exe-projects, the runtime of modulefinder is quite long. For me, the time to find all 533 modules I currently have in my library.zip, it takes around 48 seconds. So, I profiled the Python 2.4 modulefinder, and patched it for a speedup of a factor of ~2.5 - the time required to find the modules drops to around 19 seconds. I'll attach a diff against the stock Python 2.4 modulefinder in case anyone is interested (if it makes more sense to post the complete module please let me know). Thomas |