This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Goplat
Recipients Goplat
Date 2010-05-18.06:08:05
SpamBayes Score 3.5029134e-05
Marked as misclassified No
Message-id <1274162892.24.0.612432614461.issue8745@psf.upfronthosting.co.za>
In-reply-to
Content
Reading the list of files in a .zip takes a while because several seeks are done for each entry, which (on Windows at least) flushes stdio's buffer and forces a system call on the next read. For large .zips the effect on startup speed is noticeable, being perhaps 50ms per thousand files. Changing the read_directory function to read the central directory entirely sequentially would cut this time by more than half.
History
Date User Action Args
2010-05-18 06:08:12Goplatsetrecipients: + Goplat
2010-05-18 06:08:12Goplatsetmessageid: <1274162892.24.0.612432614461.issue8745@psf.upfronthosting.co.za>
2010-05-18 06:08:09Goplatlinkissue8745 messages
2010-05-18 06:08:07Goplatcreate