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

It should be possible to read or extract data from the archive without loading the whole archive (or file?) into memory #252

Open
dralley opened this issue Jan 17, 2025 · 0 comments

Comments

@dralley
Copy link
Collaborator

dralley commented Jan 17, 2025

Currently Package::open() loads the entire archive into memory, while PackageMetadata::open() doesn't have access to the archive at all.

There's no way to stream access to the archive, or extract files from the archive, without loading the entire archive into memory and dumping each file (also extracted into a large buffer). That's not ideal.

There should be some way to stream across the package and access files one at a time, preferably without needing to also fully dump those into buffers also.

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

No branches or pull requests

1 participant