Implements an incremental rehash.

This commit is contained in:
Andrea Mazzoleni 2013-07-01 23:08:25 +02:00
parent 2fdcecf350
commit 275ef2ed3c
17 changed files with 473 additions and 338 deletions

5
util.h
View file

@ -394,9 +394,8 @@ char* strdup_nofail(const char* str);
* Hash kinds.
*/
#define HASH_UNDEFINED 0
#define HASH_MD5 1
#define HASH_MURMUR3 2
#define HASH_SPOOKY2 3
#define HASH_MURMUR3 1
#define HASH_SPOOKY2 2
/**
* Computes the HASH of a memory block.