summaryrefslogtreecommitdiff
path: root/t/t5002-archive-attr-pattern.sh
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2017-03-22 17:14:21 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-22 13:41:41 -0700
commitf75619bd6d21760e1da416d4e27bce6468beffcd (patch)
treee46b96b17fbbcf688dfd4945a87fbeaf29160778 /t/t5002-archive-attr-pattern.sh
parentname-hash: specify initial size for istate.dir_hash table (diff)
downloadtgif-f75619bd6d21760e1da416d4e27bce6468beffcd.tar.xz
hashmap: allow memihash computation to be continued
Add variant of memihash() to allow the hash computation to be continued. There are times when we compute the hash on a full path and then the hash on just the path to the parent directory. This can be expensive on large repositories. With this, we can hash the parent directory first. And then continue the computation to include the "/filename". Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5002-archive-attr-pattern.sh')
0 files changed, 0 insertions, 0 deletions