You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2008/07/28 19:46:00 UTC

svn commit: r680420 - /incubator/couchdb/trunk/src/couchdb/couch_btree.erl

Author: damien
Date: Mon Jul 28 10:45:59 2008
New Revision: 680420

URL: http://svn.apache.org/viewvc?rev=680420&view=rev
Log:
Adjusted btree chunk size to give a 25% performance increase in random testing.

Modified:
    incubator/couchdb/trunk/src/couchdb/couch_btree.erl

Modified: incubator/couchdb/trunk/src/couchdb/couch_btree.erl
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/couch_btree.erl?rev=680420&r1=680419&r2=680420&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/couch_btree.erl (original)
+++ incubator/couchdb/trunk/src/couchdb/couch_btree.erl Mon Jul 28 10:45:59 2008
@@ -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,