You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
From: skip at mojam.com (Skip Montanaro)
Date: Thu, 22 Apr 1999 03:08:35 GMT
Subject: Need someone to try some rarely used bsddb methods
A few days ago I asked for input about how the various bsddb object
methods work with different storage types (btree, hash, recno). I got
responses from several people whose findings were consistent with mine.
The "last" and "previous" methods seemed to fail for hash databases.
It turns out they aren't supported. A little digging around in the
Berkeley DB code demonstrated that quite clearly. I will work on some
patches to the bsddb module that catch the mistake and return a more
meaningful error message along with the exception. I have yet to figure
out what is happening with the recno format databases. My
recommendation is that you only use the btree format for large
databases. (Unfortunately, anydbm.open calls bsddb.hashopen when it's
I wound up writing the section for the library reference as well. I
believe it's in the CVS repository now.
Thanks to all who replied.
Skip Montanaro | Mojam: "Uniting the World of Music"
skip at mojam.com | Musi-Cal: http://www.musi-cal.com/