Message105954
| 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: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 |
|