项目作者: uxcn

项目描述 :
spookyhash (C99)
高级语言: C
项目地址: git://github.com/uxcn/spookyhash-c.git
创建时间: 2015-05-14T02:29:08Z
项目社区:https://github.com/uxcn/spookyhash-c

开源协议:

下载


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.