summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Anderson <dda@mongodb.com>2017-08-23 22:20:50 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2017-08-24 12:20:50 +1000
commit62001a4d78a26e913f54ef9da660d45e56afebe5 (patch)
treeb5a7113d84492336086487fe6687d5652869a1a4
parentf53e7af4e454a424144c33d80965e57be101744c (diff)
downloadmongo-62001a4d78a26e913f54ef9da660d45e56afebe5.tar.gz
WT-3527 Use power of two hash table size. (#3602)
-rw-r--r--src/include/connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/connection.h b/src/include/connection.h
index 2370444b681..fe03d26a126 100644
--- a/src/include/connection.h
+++ b/src/include/connection.h
@@ -7,10 +7,10 @@
*/
/*
- * Default hash table size; use a prime number of buckets rather than assuming
- * a good hash (Reference Sedgewick, Algorithms in C, "Hash Functions").
+ * Default hash table size; we don't need a prime number of buckets
+ * because we always use a good hash function.
*/
-#define WT_HASH_ARRAY_SIZE 509
+#define WT_HASH_ARRAY_SIZE 512
/*******************************************
* Global per-process structure.