summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-30 00:31:58 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-30 00:31:58 +0200
commite0646b38c7acfcfc1802c987ceaa2c275b4ae226 (patch)
treea05d3b6f3de9d7ec59e2163d0844e7291301dcb2 /src/commit.c
parent51035184ddcc7f5a4437f57e04474b4bb98d8a49 (diff)
downloadlibgit2-e0646b38c7acfcfc1802c987ceaa2c275b4ae226.tar.gz
Add generic hash function to util.c
It's MurmurHash3 slightly edited to make it cross-platform. Fast and neat. Use this for hashing strings on hash tables instead of a full SHA1 hash. It's very fast and well distributed. Obviously not crypto-secure. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions