diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-10-10 11:59:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-11 15:32:48 +0900 |
commit | 3255089ada6fc8f18d41dfc37cf66d7af994603d (patch) | |
tree | d275c6ff552357cbae9ef5772ea7f2bb2c4fdb1f /Documentation/git-ls-remote.txt | |
parent | read-cache: load cache extensions on a worker thread (diff) | |
download | tgif-3255089ada6fc8f18d41dfc37cf66d7af994603d.tar.xz |
ieot: add Index Entry Offset Table (IEOT) extension
This patch enables addressing the CPU cost of loading the index by adding
additional data to the index that will allow us to efficiently multi-
thread the loading and conversion of cache entries.
It accomplishes this by adding an (optional) index extension that is a
table of offsets to blocks of cache entries in the index file. To make
this work for V4 indexes, when writing the cache entries, it periodically
"resets" the prefix-compression by encoding the current entry as if the
path name for the previous entry is completely different and saves the
offset of that entry in the IEOT. Basically, with V4 indexes, it
generates offsets into blocks of prefix-compressed entries.
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-ls-remote.txt')
0 files changed, 0 insertions, 0 deletions