[issue7216] low performance of zipfile readline()

2010-02-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Already fixed with issue7610. -- nosy: +amaury.forgeotdarc resolution: -> duplicate status: open -> closed superseder: -> Cannot use both read and readline method in same ZipExtFile object ___ Python tracker

[issue7216] low performance of zipfile readline()

2009-10-27 Thread Volker Siepmann
New submission from Volker Siepmann : The readline() function in zipfile (in ZipExtFile) reads chunks of max 100 bytes (zipfile.py, line 525) into the linebuffer. A file of 500 MBytes therefore yields 5 million chunks. Changing the value 100 to 1 bytes boosts performance by magnitudes, while