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-16 10:50:39 +02:00
2017-07-24 17:43:32 +02:00
2022-08-18 20:15:38 +02:00
2022-10-16 10:50:39 +02:00
2022-10-21 21:26:45 +02:00
2022-03-28 22:23:47 +02:00
2022-03-28 22:23:47 +02:00
2022-01-25 18:05:56 -08:00
2022-03-28 22:23:47 +02:00
2022-10-16 10:50:39 +02:00
2022-08-05 23:46:46 +02:00