[Zodb-checkins] SVN: ZODB/branches/3.8/src/ZEO/cache.py Use buckets
t=rather than trees for non-current data for an object.
Jim Fulton
jim at zope.com
Tue May 13 14:47:08 EDT 2008
Log message for revision 86710:
Use buckets t=rather than trees for non-current data for an object.
Changed:
U ZODB/branches/3.8/src/ZEO/cache.py
-=-
Modified: ZODB/branches/3.8/src/ZEO/cache.py
===================================================================
--- ZODB/branches/3.8/src/ZEO/cache.py 2008-05-13 17:26:08 UTC (rev 86709)
+++ ZODB/branches/3.8/src/ZEO/cache.py 2008-05-13 18:47:08 UTC (rev 86710)
@@ -266,7 +266,7 @@
def _set_noncurrent(self, oid, tid, ofs):
noncurrent_for_oid = self.noncurrent.get(u64(oid))
if noncurrent_for_oid is None:
- noncurrent_for_oid = BTrees.LLBTree.LLBTree()
+ noncurrent_for_oid = BTrees.LLBTree.LLBucket()
self.noncurrent[u64(oid)] = noncurrent_for_oid
noncurrent_for_oid[u64(tid)] = ofs
More information about the Zodb-checkins
mailing list