summaryrefslogtreecommitdiff
path: root/notes.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-21 14:02:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-21 14:02:19 -0700
commitc241e285e53bc84def85682eeaa265c1cd99cceb (patch)
tree149c957fa2d297c1a2ddb07e5b459f855eb831d5 /notes.h
parentMerge branch 'nd/index-pack-l10n-buf-overflow' (diff)
parentPreallocate hash tables when the number of inserts are known in advance (diff)
downloadtgif-c241e285e53bc84def85682eeaa265c1cd99cceb.tar.xz
Merge branch 'nd/preallocate-hash'
When we know approximately how many entries we will have in the hash-table, it makes sense to size the hash table to that number from the beginning to avoid unnecessary rehashing. * nd/preallocate-hash: Preallocate hash tables when the number of inserts are known in advance
Diffstat (limited to 'notes.h')
0 files changed, 0 insertions, 0 deletions