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

Improve performance of large number of package downloads #314

Conversation

stewartsmith
Copy link
Contributor

For a reposync of Fedora 40, this reduces the loop in lr_download_packages() from taking ~61 seconds to ~1second.

For a reposync of Fedora 40, this reduces the loop in
lr_download_packages() from taking ~61 seconds to ~1second.

Signed-off-by: Stewart Smith <trawets@amazon.com>
Copy link
Contributor

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, classic. (xref https://rust-unofficial.github.io/too-many-lists/#an-obligatory-public-service-announcement )

It looks like the linked list usage is embedded in public APIs here. Oh well.

@kontura kontura merged commit 25ed8b6 into rpm-software-management:master Jun 5, 2024
6 checks passed
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.

3 participants