On Sat, Oct 27, 2012 at 11:07 PM, Paul Moore firstname.lastname@example.org wrote:
Interestingly, I just did a quick test of this: This is on my Windows 7 PC, running under Powershell.
Looks like the normal configuration is over twice as fast as the zipped one...
This result is influenced by zipimport fseek-ing for every file in the imported zip and fseek flushing buffers in Microsoft's CRT implementation. There's a patch which avoids the seek in http://bugs.python.org/issue8745. Reviews welcome!
With that patch the time taken to import is half of the current state of things so according to your test that would make zipped and non zipped configurations roughly equally fast.