-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zip: avoid insanly slow zip file listing due to cache thrashing
Zip file list extractor kept seeking back and forth from central file list to header in front of actual file data, causing all caches to be flushed on read. Avoid cache thrashing by first reading all central headers, then extracting data from file headers (technically this could even be skipped when only a file list is wanted)
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters