mirror of
https://github.com/restic/restic.git
synced 2025-08-13 11:38:49 +00:00
Optimize pack readHeader() implementation
Load pack header length and 15 header entries with single backend request. This eliminates separate header Load() request for most pack files and significantly improves index.New() performance. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
This commit is contained in:
7
changelog/0.8.2/pull-1574
Normal file
7
changelog/0.8.2/pull-1574
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Reduce number of remote requests reading pack header
|
||||
|
||||
This change eliminates extra remote repository calls for most pack
|
||||
files and improves repository reindex and purge time.
|
||||
|
||||
https://github.com/restic/restic/issues/1567
|
||||
https://github.com/restic/restic/pull/1574
|
Reference in New Issue
Block a user