[ZODB-Dev] BTrees questions
Ng Pheng Siong
ngps@netmemetic.com
Wed, 19 Dec 2001 00:19:19 +0800
On Mon, Dec 17, 2001 at 06:14:34PM -0500, Jim Fulton wrote:
> Buckets are best for small amounts of data or when you want to
> force data into one data structure or database record.
IIRC from reading the source a while ago, buckets allow duplicate keys, but
Btrees don't.
Is this a design decision? If yes, may I ask why?
Sleepycat's DB also allows duplicate keys, but again I think the Python
interfaces to it don't.
(Actually, I've forgotten why I wanted duplicate keys. ;-)
Cheers.
--
Ng Pheng Siong <ngps@netmemetic.com> * http://www.netmemetic.com