Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uxcn/spookyhash-c
spookyhash (C99)
https://github.com/uxcn/spookyhash-c
c hash spookyhash
Last synced: 6 days ago
JSON representation
spookyhash (C99)
- Host: GitHub
- URL: https://github.com/uxcn/spookyhash-c
- Owner: uxcn
- Created: 2015-05-14T02:29:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-16T19:17:42.000Z (about 5 years ago)
- Last Synced: 2023-04-05T02:57:05.066Z (over 1 year ago)
- Topics: c, hash, spookyhash
- Language: C
- Size: 11.7 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spookyhash-c #
C99 translation of Bob Jenkins' SpookyHash.
### some notes... ###
This version of SpookyHash is translated from
[Bob Jenkin's original code](http://burtleburtle.net/bob/hash/spooky.html) (V2).
For performance metrics and testing, please see Reini Urban's
[smhasher](https://github.com/rurban/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.