PruneBlobs has O(n²) duplicate snapshot ID detection #16
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/vaultik#16
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
prune.goPruneBlobs(), same O(n²) linear scan for duplicate snapshot IDs asRemoveAllSnapshots:Use a
map[string]boolinstead.Ref: parent issue #1