[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

Serhiy Storchaka report at bugs.python.org
Sun Sep 30 09:42:30 CEST 2012


Serhiy Storchaka added the comment:

> Serhiy, would you be OK with me also including this patch in the bz2file package?

Yes, of course. We can even speed up 1.5 times the reading of small chunks, if we inline _check_can_read() and _read_block().

The same approach is applied for LZMAFile.

----------

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


More information about the Python-bugs-list mailing list