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

Performance Issue: Slow Access to Specific Files in Large Zip Archives #266

Open
lethargy123 opened this issue Nov 28, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@lethargy123
Copy link

I developed a library to access zip files on a server. I wrapped the server's zip files into a read+seek type. However, when I use ZipArchive::new from the zip library to create an object, I found that it takes a long time. I suspect it is accessing the entire file, as indicated by the network speed. I only want to read a specific small file from the zip, but it seems that the zip library caches the entire file before allowing access to a specific file inside, which results in a long delay.

@lethargy123 lethargy123 added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant