[New-bugs-announce] [issue30476] Add _GenerateCRCTable() to zipfile.py to pre-compute CRC Table

Shubha Ramani report at bugs.python.org
Thu May 25 16:25:14 EDT 2017


New submission from Shubha Ramani:

It is wasteful to generate the CRC Table every time, via _crctable = list(map(_gen_crc, range(256))). Better to have a pre-computed table.

I will submit the patch which incorporates this feature along with micro-benchmark results. Related issue:

http://bugs.python.org/issue30467

http://bugs.python.org/issue30468

----------
messages: 294513
nosy: serhiy.storchaka, shubhar
priority: normal
severity: normal
status: open
title: Add   _GenerateCRCTable() to zipfile.py to pre-compute CRC Table
type: performance
versions: Python 3.7

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


More information about the New-bugs-announce mailing list