Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uxcn/cityhash-c
cityhash (C99)
https://github.com/uxcn/cityhash-c
c cityhash hash
Last synced: 6 days ago
JSON representation
cityhash (C99)
- Host: GitHub
- URL: https://github.com/uxcn/cityhash-c
- Owner: uxcn
- Created: 2015-05-13T03:42:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-16T19:17:59.000Z (about 5 years ago)
- Last Synced: 2023-04-05T02:57:03.242Z (over 1 year ago)
- Topics: c, cityhash, hash
- Language: C
- Size: 49.8 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cityhash-c #
C99 translation of Geoff Pike's and Jyrki Alakuijala's CityHash.
**This hash is superseded by FarmHash (see
[farmhash-c](https://github.com/uxcn/farmhash-c))**### some notes... ###
This version of CityHash is translated from the original code released via
[google code](https://code.google.com/p/cityhash) (1.1.1), and may differ from
[smhasher](https://github.com/aappleby/smhasher). For rough performance
metrics, please see Reini Urban's [smhasher](https://github.com/rurban/smhasher)
fork.The code is intended to be platform agnostic, excluding some compiler
intrinsics. However, please note `byte swap` and `rotate right` are used in the
hashes and platform optimized versions are not included, which may compromise
performance. Additionally, `byte swap` is necessary for big-endian
architectures.