[issue1675951] Performance for small reads and fix seek problem

Antoine Pitrou report at bugs.python.org
Thu Sep 23 18:24:50 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Thank you very much! I have kept the second approach (use PaddedFile at all times), since it is more regular and minimizes the probability for borderline cases.
As for the supposed performance slowdown, it doesn't seem significant. On large blocks of data, I expect that compression/decompression cost will be overwhelming anyway.
I've added a test case and committed the patch in r84976. Don't hesitate to contribute again.

----------
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list