[issue18515] zipfile._ZipDecryptor generates wasteful crc32 table on import

Daniel Holth report at bugs.python.org
Sun Sep 15 21:55:47 CEST 2013


Daniel Holth added the comment:

I am withdrawing zipfile-no-crc32.patch. It did not work correctly. 

zdlazy.patch should go in. It avoids creating the rarely-needed crc32 table until the first time it is needed, saving some memory and the majority of time needed to import the module.

zdlazy.patch should not affect its C replacement at all, except that the rarely-needed CRC32 table that we are not generating becomes a never-needed table.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18515>
_______________________________________


More information about the Python-bugs-list mailing list