Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 628 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 628 Bytes

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 (1.1). For quality and performance metrics, please see Reini Urban's 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.