In `prune.go` `PruneBlobs()`, same O(n²) linear scan for duplicate snapshot IDs as `RemoveAllSnapshots`:
```go
found := false
for _, id := range snapshotIDs {
if id == snapshotID {
found = true
break
}
}
```
Use a `map[string]bool` instead.
Ref: parent issue #1
Closing as duplicate — PR #45 (which closes #12) fixes the O(n²) dedup in both RemoveAllSnapshots and PruneBlobs.
Closing as duplicate — [PR #45](https://git.eeqj.de/sneak/vaultik/pulls/45) (which closes [#12](https://git.eeqj.de/sneak/vaultik/issues/12)) fixes the O(n²) dedup in both `RemoveAllSnapshots` and `PruneBlobs`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In
prune.goPruneBlobs(), same O(n²) linear scan for duplicate snapshot IDs asRemoveAllSnapshots:Use a
map[string]boolinstead.Ref: parent issue #1
Closing as duplicate — PR #45 (which closes #12) fixes the O(n²) dedup in both
RemoveAllSnapshotsandPruneBlobs.