forked from TrueCloudLab/restic
fc05e35a08
Iterating through the indexmap according to the bucket order has the problem that all indexEntries are accessed in random order which is rather cache inefficient. As we already keep a list of all allocated blocks, just iterate through it. This allows iterating through a batch of indexEntries without random memory accesses. In addition, the packID will likely remain similar across multiple blobs as all blobs of a pack file are added as a single batch. |
||
---|---|---|
.. | ||
index.go | ||
index_parallel.go | ||
index_parallel_test.go | ||
index_test.go | ||
indexmap.go | ||
indexmap_test.go | ||
master_index.go | ||
master_index_test.go | ||
testing.go |