[Python-Dev] PEP 273: Import Modules from Zip Archives

Gordon McMillan gmcm@hypernet.com
Mon, 29 Oct 2001 10:54:50 -0500


[Guido]
> Good point.  Uncompressed archives will definitely be faster. 
> I'd be happy to legislate uncompressed archives, except I'm
> worried that not all tools commonly used to create zip archives
> make it easy to turn off compression.

Don't be so sure about speed. If the archive is big enough and 
the OS bad enough <wink>, it may be faster to uncompress 
than swap. I always compress at 9, and have only seen speed 
ups of 1 or 2% with compression turned off.

BTW, .pyc's compress quite well.

- Gordon