Message96487
Right, using the io module makes GzipFile as fast as zcat.
I submit a new patch this time for Python 2.7, however, it is not a
module rewrite, but again minimal refactoring.
GzipFile is now derived of io.BufferedRandom, and as result the
functionality of GzipFile changed since it used to behave differently
than io classes. For example write() did not return number of bytes
written, etc... Also, I hacked it a little to make it work with a raw
stream which is either readable or writable but not both. If it is
unacceptable, or if you prefer a module rewrite, I don't mind discussing
and evolving this further. |
|
Date |
User |
Action |
Args |
2009-12-16 13:02:44 | nirai | set | recipients:
+ nirai, pitrou, jackdied, brian.curtin, asnakelover |
2009-12-16 13:02:43 | nirai | set | messageid: <1260968563.94.0.947814596468.issue7471@psf.upfronthosting.co.za> |
2009-12-16 13:02:41 | nirai | link | issue7471 messages |
2009-12-16 13:02:41 | nirai | create | |
|