[ZODB-Dev] BTree ranges
John Belmonte
jvb at prairienet.org
Mon Oct 6 17:34:18 EDT 2003
Tim Peters wrote:
> I like having the choice -- half-open isn't convenient for all applications
> either. If you need to find everything keyed from 10.0 thorough 20.0
> inclusive...
Would you give a real-world example, from an existing application, of
half-open not being convenient?
The point of pulling some range out from a set is to slice the set.
Slices shouldn't overlap. If some program is using overlapping slices,
the programmer was probably not conscious of this overlap, and it may
well be a bug in the program.
--
http:// if le.o /
More information about the ZODB-Dev
mailing list