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

Use a customized version of QueryExistingArtifacts #309

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

lubosmj
Copy link
Member

@lubosmj lubosmj commented Nov 13, 2023

In this change, the stage is comparing only sha256 digests between existing and newly added artifacts. Furthermore, the time complexity for the old comparison was O(N^2). With the change, we work with O(2N).

closes #289

In this change, the stage is comparing only sha256 digests between
existing and newly added artifacts. Furthermore, the time complexity
for the old comparison was O(N^2). With the attached change, we work
with O(2N).

closes pulp#289
@lubosmj lubosmj force-pushed the performance-imp-check-1 branch from 6cf6404 to 42cba31 Compare November 16, 2023 15:33
@lubosmj lubosmj marked this pull request as ready for review November 16, 2023 15:33
@lubosmj lubosmj merged commit 0e19319 into pulp:main Nov 16, 2023
14 checks passed
Copy link

patchback bot commented Nov 16, 2023

Backport to 2.2: 💚 backport PR created

✅ Backport PR branch: patchback/backports/2.2/0e1931945b54aa322aaaab4cb171e1dded169db5/pr-309

Backported as #314

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

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.

Upload child commit to pulp takes more than 40 minutes
2 participants