2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-02 20:08:25 +00:00
restic/internal
Michael Eischer 68c9cb9c6a prune: Shrink keepBlobs set if possible
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.
2022-10-22 18:45:12 +02:00
..
2022-10-21 14:32:46 +02:00
2022-07-17 13:42:23 +02:00
2022-10-14 14:06:47 +02:00
2022-05-11 21:36:10 +02:00
2022-10-14 14:33:49 +02:00
2021-01-30 20:19:47 +01:00