diff options
author | Eric Wong <normalperson@yhbt.net> | 2014-02-09 09:22:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2014-02-09 09:25:19 +0000 |
commit | 434a20bcbc306ffb484c4a38e99ca82de2c0e08b (patch) | |
tree | 0f5b8f93a30b26b526eba9c6fe063b9906d8d46a /ext/tdb/tdb.c | |
parent | 1ed6aacf5cb3265191acc61449fe68abd7c8f503 (diff) | |
download | ruby-tdb-434a20bcbc306ffb484c4a38e99ca82de2c0e08b.tar.gz |
It's the preferred hash function nowadays by Ruby itself, so it probably makes sense to add it
Diffstat (limited to 'ext/tdb/tdb.c')
-rw-r--r-- | ext/tdb/tdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tdb/tdb.c b/ext/tdb/tdb.c index 754d712..58e16bf 100644 --- a/ext/tdb/tdb.c +++ b/ext/tdb/tdb.c @@ -81,6 +81,7 @@ static void init_hashes(void) { #define HF(x) \ rb_hash_aset(hashes,ID2SYM(rb_intern(#x)),ULONG2NUM((unsigned long)rbtdb_##x)) + HF(siphash24); HF(murmur1); HF(murmur1_aligned); HF(murmur2); |