From 44c652fbbe0f70794c514ae9962ad0694764cfd9 Mon Sep 17 00:00:00 2001 From: kevan Date: Sun, 5 Jul 2009 15:31:42 -0700 Subject: [PATCH] Modify bench_dirnode.py to use CachingDict. --- src/allmydata/test/bench_dirnode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/bench_dirnode.py b/src/allmydata/test/bench_dirnode.py index 68011c6f..e5f969a6 100644 --- a/src/allmydata/test/bench_dirnode.py +++ b/src/allmydata/test/bench_dirnode.py @@ -78,7 +78,7 @@ def init_for_unpack(N): packstr = pack(N) def pack(N): - return testdirnode._pack_contents(dict(children[:N])) + return testdirnode._pack_contents(dirnode.CachingDict(children[:N])) def unpack(N): return testdirnode._unpack_contents(packstr) -- 2.45.2