Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid scanning through all local file headers when opening an archive #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrudolph
Copy link

Fixes #280

The idea is to make ZipFileData.data_start be calculated lazy to avoid accessing all local file headers already when opening a file. This required a change to the signature of ZipFileData.data_start() (which seems to be non-public after all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zip 2.2.2 scans for large parts of the file while opening a ZipArchive
1 participant