From 6dade24c59bbbc3c83d6b7a78b71cd7a16ed9119 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 7 Mar 2011 19:34:09 +0000 Subject: Change names from btree to larch. --- speed-test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'speed-test') diff --git a/speed-test b/speed-test index 7880c90..c802f60 100755 --- a/speed-test +++ b/speed-test @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Excercise my btree implementation, for simple benchmarking purposes. +# Excercise my B-tree implementation, for simple benchmarking purposes. # The benchmark gets a location and an operation count as command line # arguments. # @@ -37,7 +37,7 @@ import sys import time import tracing -import btree +import larch class SpeedTest(cliapp.Application): @@ -67,13 +67,13 @@ class SpeedTest(cliapp.Application): raise Exception('You must set number of keys with --keys') if not location: - forest = btree.open_forest(key_size=key_size, node_size=node_size, - node_store=btree.NodeStoreMemory) + forest = larch.open_forest(key_size=key_size, node_size=node_size, + node_store=larch.NodeStoreMemory) else: if os.path.exists(location): raise Exception('%s exists already' % location) os.mkdir(location) - forest = btree.open_forest(key_size=key_size, node_size=node_size, + forest = larch.open_forest(key_size=key_size, node_size=node_size, dirname=location) tree = forest.new_tree() -- cgit v1.2.1