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

Daniel Holth report at bugs.python.org
Mon Jan 6 16:55:30 CET 2014


Daniel Holth added the comment:

Thanks. I guess I know who to ask now.

It was just painful seeing so much import-time computation, pretty much
guaranteed to happen every time Python starts up, being wasted on a
feature that is rarely used. On the Raspberry Pi the majority of the
import time is spent building this table and the speed difference is
noticeable.

On Mon, Jan 6, 2014, at 10:22 AM, Larry Hastings wrote:
> 
> Larry Hastings added the comment:
> 
> Since this isn't a bugfix, it was inappropriate to check this in after
> feature-freeze for 3.4.  However it looks harmless enough, so I'm not
> asking you to revert it at this time.
> 
> I guess it's easier to get forgiveness than permission, huh.
> 
> ----------
> nosy: +larry
> 
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue18515>
> _______________________________________

----------

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


More information about the Python-bugs-list mailing list