Commit e9f6f948 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Make the cachetable 127 (prime) instead of 128

git-svn-id: file:///svn/tokudb@125 c7de825b-a66e-492c-adef-691d508d4ae1
parent 18412a5f
...@@ -957,7 +957,7 @@ static int brtnode_insert (BRT t, BRTNODE node, DBT *k, DBT *v, ...@@ -957,7 +957,7 @@ static int brtnode_insert (BRT t, BRTNODE node, DBT *k, DBT *v,
} }
//enum {n_nodes_in_cache =64}; //enum {n_nodes_in_cache =64};
enum {n_nodes_in_cache =128}; enum {n_nodes_in_cache =127};
int brt_create_cachetable (CACHETABLE *ct, int cachelines) { int brt_create_cachetable (CACHETABLE *ct, int cachelines) {
if (cachelines==0) cachelines=n_nodes_in_cache; if (cachelines==0) cachelines=n_nodes_in_cache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment