bsddb for k, v in db.items(): do order the numbers ?
Christopher De Vries
devries at idolstarastronomer.com
Wed Mar 2 23:13:19 CET 2005
On Wed, Mar 02, 2005 at 01:31:04PM +0300, Denis S. Otkidach wrote:
> You are not right, records in BTree (btopen) are certainly sorted. For
> positive integers you can pack keys with struct.pack('>I', value).
You're right... I missed the btopen (rather a key thing to miss I know, but
when you have a toddler in your lap it sometimes happens). Sorry about that.
More information about the Python-list