[ZODB-Dev] crypto hash as key for BTrees

John Belmonte john at neggie.net
Fri Feb 20 17:24:21 EST 2004


While I'm in ZODB question mode-- I vaguely remember some mention on the 
list about this before, but what is the best way to use a crypto hash 
(for example, 160-bits of data) as a key for a BTree container?  The 
options seem to be:

     * OOTree with key as binary string
     * OOTree with key as encoded string (hex, base64, etc.)
     * IOBTree with key as number (does IOBTree support large integers?)

Thanks,
-John


-- 
http:// if  ile.org/



More information about the ZODB-Dev mailing list