aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorDavid Barr <david.barr@cordelta.com>2010-12-13 19:13:24 +1100
committerJonathan Nieder <jrnieder@gmail.com>2011-03-22 18:09:02 -0500
commit044ad2906a5e4b805bc8c8d121466d8ff94ecbfb (patch)
tree40b6c87408b7412af2ca8e0b14572053b1e0d036 /hash.c
parentc9d1c8ba059577e64fb2213cb0c5f3c4619c7519 (diff)
downloadgit-044ad2906a5e4b805bc8c8d121466d8ff94ecbfb.tar.gz
git-044ad2906a5e4b805bc8c8d121466d8ff94ecbfb.tar.xz
vcs-svn: implement perfect hash for node-prop keys
Instead of interning property names and comparing their string_pool keys, look them up in a table by string length, which should be about as fast. This is a small step towards removing dependence on string_pool. Signed-off-by: David Barr <david.barr@cordelta.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions