Commit e0646b38c7acfcfc1802c987ceaa2c275b4ae226

Vicent Marti 2010-12-30T00:31:58

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>