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

Streaming/lazy reading of JSON from registry file #1

Open
Joeyh021 opened this issue Sep 13, 2022 · 0 comments
Open

Streaming/lazy reading of JSON from registry file #1

Joeyh021 opened this issue Sep 13, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Joeyh021
Copy link
Member

Currently, when reading the local package registry, the entire file is loaded and parsed as a Vec<Package> before being operated (searched/printed). This won't scale, and could do with being re-written to use iterators or streams or something that will not load the entire file at once.

@Joeyh021 Joeyh021 added enhancement New feature or request good first issue Good for newcomers labels Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant