[issue20962] Rather modest chunk size in gzip.GzipFile

Charles-François Natali report at bugs.python.org
Sun Apr 27 18:42:53 CEST 2014


Charles-François Natali added the comment:

William, thanks for the benchmarks.

Unfortunately this type of benchmark depends on the hardware (disk, SSD, emmoey bandwitdh, etc).

So I'd suggest, instead of using an hardcoded value, to simply reuse io.DEFAULT_BUFFER_SIZE.
That way, if some day we decide to change it, all user code wil benefit from the change.

----------
nosy: +neologix

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


More information about the Python-bugs-list mailing list