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

Serhiy Storchaka report at bugs.python.org
Sun Sep 15 23:15:06 CEST 2013


Serhiy Storchaka added the comment:

I meant my pure Python patch in issue10030. Binding crctable to local variable is one of microoptimizations. Not the largest one however. So in general I not objects. Your patch LGTM. Only one nitpick -- instead "not _ZipDecrypter.crctable" use "_ZipDecrypter.crctable is None".

----------

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


More information about the Python-bugs-list mailing list