This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b18dd
)
SuperFastHash needs to define PERL_HASH_SEED_BYTES appropriately.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 23 Nov 2012 13:29:05 +0000
(14:29 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 23 Nov 2012 13:29:05 +0000
(14:29 +0100)
hv.h
patch
|
blob
|
blame
|
history
diff --git
a/hv.h
b/hv.h
index
b89377b
..
3f899e5
100644
(file)
--- 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