dryman / spookyhash-c

spookyhash (C99)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spookyhash-c

C99 translation of Bob Jenkins' SpookyHash.

some notes...

This version of SpookyHash is translated from Bob Jenkin's original code (V2). For performance metrics and testing, please see Reini Urban's smhasher fork.

The code is meant to be platform agnostic. However, 64 bit operations are used heavily in the hashes, including rotate left which is not optimized for any specific platform. Unaligned reads are assumed cheap and allowed by default. Also note, the hashes will produce different values depending on machine endianness.

About

spookyhash (C99)


Languages

Language:C 67.3%Language:M4 32.3%Language:Makefile 0.4%