From: Junio C Hamano Date: Thu, 21 Mar 2013 21:02:19 +0000 (-0700) Subject: Merge branch 'nd/preallocate-hash' X-Git-Tag: v1.8.3-rc0~207 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c241e285e53bc84def85682eeaa265c1cd99cceb 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 --- c241e285e53bc84def85682eeaa265c1cd99cceb