2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-06 22:08:29 +00:00
Michael Eischer 7a992fc794 repository: Reduce buffer reallocations in ForAllIndexes
Previously the buffer was grown incrementally inside `repo.LoadUnpacked`.
But we can do better as we already know how large the index will be.
Allocate a bit more memory to increase the chance that the buffer can be
reused in the future.
2022-08-19 21:13:40 +02:00
..
2022-08-19 19:12:26 +02:00
2022-07-17 13:42:23 +02:00