mirror of
https://github.com/restic/restic.git
synced 2025-12-30 11:39:35 -05:00
As long as only a small fraction of the data in a repository is rewritten, the keepBlobs set will be rather small after cleaning it up. As golang maps do not shrink their memory usage, just copy the contents over to a new map. However, only copy the map if the cleanup removed at least half the entries. |
||
|---|---|---|
| .. | ||
| restic | ||