summaryrefslogtreecommitdiff
path: root/node/Hashtable.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-24 11:00:22 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-09-24 11:00:22 -0700
commitfbde40d1fc8767e4b6e9fcf0b078a8a4eb0646bd (patch)
treee6776e96db9f90e985ac86c9967d7d945033328a /node/Hashtable.hpp
parent557c0c29b0781ff6190189fc080075b1c773f382 (diff)
parent0e5aac6a117c28fde63f4cdb94e6c9fc415ca098 (diff)
downloadinfinitytier-fbde40d1fc8767e4b6e9fcf0b078a8a4eb0646bd.tar.gz
infinitytier-fbde40d1fc8767e4b6e9fcf0b078a8a4eb0646bd.zip
Merge branch 'adamierymenko-dev' into netcon
Diffstat (limited to 'node/Hashtable.hpp')
-rw-r--r--node/Hashtable.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Hashtable.hpp b/node/Hashtable.hpp
index d2b85c15..beef1468 100644
--- a/node/Hashtable.hpp
+++ b/node/Hashtable.hpp
@@ -383,7 +383,7 @@ private:
static inline unsigned long _hc(const uint32_t i)
{
// In the uint32_t case we use a simple multiplier for hashing to ensure coverage
- return ((unsigned long)i * (unsigned long)2654435761);
+ return ((unsigned long)i * (unsigned long)0x9e3779b1);
}
inline void _grow()