mirror of
https://github.com/restic/restic.git
synced 2026-07-16 20:24:54 +00:00
- addToPacks now returns uint32 directly and the value is passed through store() to indexMap.add unchanged, instead of casting between int and uint32. - merge() appends idx2.packs to idx.packs without going through addToPacks, so it now checks the pack count against the uint32 limit itself + error if exceeded. - optimize changelog message
9 lines
353 B
Plaintext
9 lines
353 B
Plaintext
Enhancement: Reduce memory usage of the in-memory index
|
|
|
|
Restic keeps an index of the repository contents in memory during most
|
|
operations. This index now requires roughly 12% less memory, which is
|
|
especially noticeable for large repositories with many snapshots, where
|
|
a lot of index data has to be loaded.
|
|
|
|
https://github.com/restic/restic/pull/21937
|