[ZODB-Dev] Btrees and Long Longs

Martijn Faassen faassen@vet.uu.nl
Wed, 26 Feb 2003 17:59:30 +0100


Hi there,

I have a need in my application for a BTree that can handle 
64 bit 'long long' integers, at least as keys. These would then
be mapped to Python 'longs'. I fiddled a bit with the BTree templates
and now I have a LIBTree, a Long->Integer BTree. It seems to work
after minimal testing. :)

Is there any change something like this could become distributed along
with the ZODB (4) eventually? I could also try maintaining this as my
own extension, though I'm a bit daunted by all the templating magic
that is going on with BTrees.

Any advice?

Regards,

Martijn