No description
Find a file
2017-03-08 18:22:36 -08:00
.gitignore Rename TMurmurHashes -> MurmurHashes (output of murmur_hash() proc). Bump to v0.1.2. 2014-07-19 11:45:28 -07:00
LICENSE Add MIT license. 2014-07-19 12:14:25 -07:00
murmur3.nim Do not shadow result var. Bump to v0.1.3. 2015-04-30 15:11:31 -07:00
murmur3.nimble Update for Nim v0.16.0 2017-03-08 18:22:36 -08:00
murmur3_c.c Increment to 0.1.1 and rename to murmur3 to not conflict w/ pre-existing murmur package implementing Murmurhash (2?) in Nimrod. 2014-05-15 17:50:36 -04:00
murmur3_c.h Increment to 0.1.1 and rename to murmur3 to not conflict w/ pre-existing murmur package implementing Murmurhash (2?) in Nimrod. 2014-05-15 17:50:36 -04:00
README.md Update README.md for v0.1.2 2014-07-19 11:50:18 -07:00

murmur3

Murmurhash3 wrapper in Nimrod. Currently simply provides a wrapper for MurmurHash3_x64_128 for string inputs. MurmurHash was written by Austin Appleby and released into the public domain.

This module implements a MurmurHashes type, which is simply a 2 item array of signed 64-bit integers, and one hashing method (strings only at the moment):

proc murmur_hash*(key: string, seed: uint32 = 0'u32): MurmurHashes =