In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/3db6cbfca39da94d152d3e860e2aa79b9c6bb161?hp=703227f1549138154a892277bca67170373038d9>

- Log -----------------------------------------------------------------
commit 3db6cbfca39da94d152d3e860e2aa79b9c6bb161
Author: Yves Orton <[email protected]>
Date:   Tue Dec 4 15:22:28 2012 +0100

    Switch default hash to SIPHASH on 64 bit builds and ONE_AT_A_TIME on 32 bit 
builds
    
    Murmurhash has certain disadvantages that neither ONE_AT_A_TIME nor SIPHASH 
posses
-----------------------------------------------------------------------

Summary of changes:
 hv.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/hv.h b/hv.h
index 3937b5d..3ee2399 100644
--- a/hv.h
+++ b/hv.h
@@ -156,7 +156,11 @@ struct xpvhv {
         || defined(PERL_HASH_FUNC_ONE_AT_A_TIME_OLD) \
         || defined(PERL_HASH_FUNC_BUZZHASH16) \
     )
-#define PERL_HASH_FUNC_MURMUR3
+#ifdef U64
+#define PERL_HASH_FUNC_SIPHASH
+#else
+#define PERL_HASH_FUNC_ONE_AT_A_TIME
+#endif
 #endif
 
 #if defined(PERL_HASH_FUNC_BUZZHASH16)

--
Perl5 Master Repository

Reply via email to