Florian Festi added the comment:
I updated the performace script to Py3. You still need to change the import
gzipnew line to actually load the modified module. Right now it just compares
the stdlib gzip module to itself.
--
Added file: http://bugs.python.org/file18916/test_gzip2-py3
Florian Festi added the comment:
Attached result of a run with stdlib gzip module only. Results indicate that
performance still is as bad as on Python 2. The Python 3 gzip module also still
makes use of tell() ans seek(). So both argument for including this patch are
still valid.
Porting
Florian Festi added the comment:
Stupid me! I ran the tests against my systems gzip version (Py 3.1). The
performance issue is basically fixed by rev 77289. Performance is even a bit
better that my original patch by may be 10-20%. The only test case where it
performs worse is
Random
Changes by Florian Festi :
Added file:
http://bugs.python.org/file18965/0002-Avoid-the-need-of-seek-ing-on-the-file-read-2.patch
___
Python tracker
<http://bugs.python.org/issue1675
Florian Festi added the comment:
There are no compatibility concerns I am aware of. The new implementation does
no longer need a seek()able file. Of course an implemented seek() method won't
hurt anyone. The additional tests are only there to point out the problems of
the old implement