[Checkins] SVN: zc.dict/branches/tlotze-blist/src/zc/dict/ordered.txt added a test to ensure the order is stored in a BList
Thomas Lotze
tl at gocept.com
Tue Dec 23 06:00:01 EST 2008
Log message for revision 94275:
added a test to ensure the order is stored in a BList
Changed:
U zc.dict/branches/tlotze-blist/src/zc/dict/ordered.txt
-=-
Modified: zc.dict/branches/tlotze-blist/src/zc/dict/ordered.txt
===================================================================
--- zc.dict/branches/tlotze-blist/src/zc/dict/ordered.txt 2008-12-23 10:54:07 UTC (rev 94274)
+++ zc.dict/branches/tlotze-blist/src/zc/dict/ordered.txt 2008-12-23 11:00:01 UTC (rev 94275)
@@ -41,6 +41,11 @@
>>> d._len()
2
+The order of the keys is stored in a BList so buckets are used for it as well:
+
+ >>> d._order
+ <zc.blist.BList object at ...>
+
In order to keep updates efficient for small changes, we unroll them
as a series of setitems.
More information about the Checkins
mailing list