Message105954
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. |
|
Date |
User |
Action |
Args |
2010-05-18 06:08:12 | Goplat | set | recipients:
+ Goplat |
2010-05-18 06:08:12 | Goplat | set | messageid: <1274162892.24.0.612432614461.issue8745@psf.upfronthosting.co.za> |
2010-05-18 06:08:09 | Goplat | link | issue8745 messages |
2010-05-18 06:08:07 | Goplat | create | |
|