[ZODB-Dev] ZODB idioms

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 24 Jun 2002 17:23:03 +0100


On Monday 24 Jun 2002 4:51 pm, Tim Peters wrote:

> So long as there are no deletions, it will be perfectly balanced.  I do=
n't
> know how unbalanced things get in real life in the presence of deletion=
s
> too, but am working in the background on a tool that will be able to te=
ll
> us.

OK. Most Zope uses of BTrees allow you to throw the BTree away and rebuil=
d it=20
from the underlying data. So a ZCatalog 'reindex all' will effectively=20
rebalance any unbalanced BTrees.

One exception I can think of is fsIndex.......