|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76969 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2012-02-11 07:33:03
Author: danieljames
Date: 2012-02-11 07:33:02 EST (Sat, 11 Feb 2012)
New Revision: 76969
URL: http://svn.boost.org/trac/boost/changeset/76969
Log:
Unordered: Remove some of the smaller primes.
There's quite a high chance of collisions for these values.
Text files modified:
trunk/boost/unordered/detail/util.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/unordered/detail/util.hpp
==============================================================================
--- trunk/boost/unordered/detail/util.hpp (original)
+++ trunk/boost/unordered/detail/util.hpp 2012-02-11 07:33:02 EST (Sat, 11 Feb 2012)
@@ -56,7 +56,7 @@
// primes
#define BOOST_UNORDERED_PRIMES \
- (5ul)(11ul)(17ul)(29ul)(37ul)(53ul)(67ul)(79ul) \
+ (17ul)(29ul)(37ul)(53ul)(67ul)(79ul) \
(97ul)(131ul)(193ul)(257ul)(389ul)(521ul)(769ul) \
(1031ul)(1543ul)(2053ul)(3079ul)(6151ul)(12289ul)(24593ul) \
(49157ul)(98317ul)(196613ul)(393241ul)(786433ul) \
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk