[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/fsIndex.py Corrected comment.

Jim Fulton jim at zope.com
Mon Jan 21 11:34:48 EST 2008


Log message for revision 83062:
  Corrected comment.
  

Changed:
  U   ZODB/trunk/src/ZODB/fsIndex.py

-=-
Modified: ZODB/trunk/src/ZODB/fsIndex.py
===================================================================
--- ZODB/trunk/src/ZODB/fsIndex.py	2008-01-21 14:09:26 UTC (rev 83061)
+++ ZODB/trunk/src/ZODB/fsIndex.py	2008-01-21 16:34:47 UTC (rev 83062)
@@ -28,7 +28,10 @@
 # suffix to 6-byte data. This should reduce the overall memory usage to
 # 8-16 bytes per OID.
 #
-# Since the mapping from suffix to data contains at most 256 entries,
+# Because
+#  - the mapping from suffix to data contains at most 65535 entries,
+#  - this is an in-memory data structure
+#  - new keys are inserted sequentially, 
 # we use a BTree bucket instead of a full BTree to store the results.
 #
 # We use p64 to convert integers to 8-byte strings and lop off the two



More information about the Zodb-checkins mailing list