summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-11-23 14:29:05 +0100
committerNicholas Clark <nick@ccl4.org>2012-11-23 14:29:05 +0100
commitc3a886583b8d98dea1a92cd9d0becd0e9a1f6bfd (patch)
tree0b281e32269f7d1d964f2ced3bf533416e29bc80 /hv.h
parent64b18ddce5bc88a1ffc2ea6b84d36bc3f5c9c4fe (diff)
downloadperl-c3a886583b8d98dea1a92cd9d0becd0e9a1f6bfd.tar.gz
SuperFastHash needs to define PERL_HASH_SEED_BYTES appropriately.
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index b89377b80c..3f899e5362 100644
--- a/hv.h
+++ b/hv.h
@@ -261,6 +261,7 @@ struct xpvhv {
#elif defined(PERL_HASH_FUNC_SUPERFAST)
#define PERL_HASH_FUNC "SUPERFAST"
+#define PERL_HASH_SEED_BYTES 4
/* FYI: This is the "Super-Fast" algorithm mentioned by Bob Jenkins in
* (http://burtleburtle.net/bob/hash/doobs.html)
* It is by Paul Hsieh (c) 2004 and is analysed here