https://github.com/uxcn/farmhash-c
farmhash (C99)
https://github.com/uxcn/farmhash-c
c farmhash hash
Last synced: 4 months ago
JSON representation
farmhash (C99)
- Host: GitHub
- URL: https://github.com/uxcn/farmhash-c
- Owner: uxcn
- License: mit
- Created: 2016-02-12T03:48:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-17T04:11:09.000Z (over 9 years ago)
- Last Synced: 2025-05-01T16:42:25.124Z (5 months ago)
- Topics: c, farmhash, hash
- Language: C
- Size: 89.8 KB
- Stars: 15
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# farmhash-c #
C99 translation of Geoff Pike's and Jyrki Alakuijala's FarmHash.
### some notes... ###
This version of FarmHash is translated from the code available via
[github](https://github.com/google/farmhash) (1.1). For quality and performance
metrics, please see Reini Urban's [smhasher](https://github.com/rurban/smhasher)
fork.The code is meant to be platform agnostic, excluding some compiler intrinsics.
Note, `byte swap` and `rotate right` are used. I've confirmed the included
versions optimize correctly with x86 and Clang (3.7), however there may be
platforms or compilers they don't optimize correctly on.