summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2008-07-28 17:45:59 +0000
committerDamien F. Katz <damien@apache.org>2008-07-28 17:45:59 +0000
commit96aaee3666626459ec091ee7e1a65e32b3b9afa6 (patch)
treeab5a0ce286eb91f467137c3389aad40ca3c2c520
parentede1d57f1003c49b151cc81d8d9ba2c2e70247b4 (diff)
Adjusted btree chunk size to give a 25% performance increase in random testing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680420 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_btree.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_btree.erl b/src/couchdb/couch_btree.erl
index b9374f91..ac19b4e9 100644
--- a/src/couchdb/couch_btree.erl
+++ b/src/couchdb/couch_btree.erl
@@ -16,7 +16,7 @@
-export([foldr/3, foldr/4, fold/4, fold/5, full_reduce/1, final_reduce/2]).
-export([fold_reduce/7, lookup/2, get_state/1, set_options/2, test/1, test/0]).
--define(CHUNK_THRESHOLD, 16#fff).
+-define(CHUNK_THRESHOLD, 16#4ff).
-record(btree,
{fd,