durusmail: durus-users: Re: __len__ for Btrees was Re: [Durus-users] some btree enhancements
some btree enhancements
2005-07-13
2005-07-13
2005-07-13
2005-07-13
2005-07-13
Re: __len__ for Btrees was Re: [Durus-users] some btree enhancements
2005-07-14
2005-07-14
2005-07-14
2005-07-14
2005-07-14
2005-07-14
2005-09-09
Re: __len__ for Btrees was Re: [Durus-users] some btree enhancements
David Binger
2005-07-14
On Jul 14, 2005, at 7:14 AM, Thomas Guettler wrote:

> In ZODB there is a class called "Length". It has built in conflict-
> resolution.
> This means the lenght it returns could be wrong if some other
> transaction is
> changing the size of the btree at the same moment. If there is just
> one
> process accessing the database, the result is always correct.

That's interesting.   I guess approximate-size is sufficient for many
applications.


reply