Closed lubosmj closed 10 months ago
✅ Backport PR branch: patchback/backports/2.2/0e1931945b54aa322aaaab4cb171e1dded169db5/pr-309
Backported as https://github.com/pulp/pulp_ostree/pull/314
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
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