[issue18003] lzma module very slow with line-oriented reading.
Antoine Pitrou
report at bugs.python.org
Fri Sep 20 20:53:39 CEST 2013
Antoine Pitrou added the comment:
> > So why not simply use BufferedReader?
>
> Because we want good performance LZMAFile and compatibility with older
> versions.
You're reading me wrong. I'm simply suggesting that users interested in
readline() performance wrap LZMAFile in a BufferedReader. The
documentation can mention it.
> And I guess that it will be even faster than wrapping in
> BufferedReader (due to the avoiding of double buffering).
Let's wait for the numbers, then. The performance increase would have to
be quite large to justify such code duplication.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18003>
_______________________________________
More information about the Python-bugs-list
mailing list