durusmail: durus-users: snag with btree.get(key)
snag with btree.get(key)
2005-07-07
2005-07-07
2005-07-07
2005-07-08
2005-07-08
2005-07-08
2005-07-08
2005-07-08
2005-07-11
2005-07-08
2005-07-08
2005-07-08
2005-07-08
Schevo and moellus [was: Re: [Durus-users] snag with btree.get(key)]
2005-07-11
Re: Schevo and moellus [was: Re: [Durus-users] snag with btree.get(key)]
2005-07-13
2005-07-14
2005-07-14
2005-07-14
2005-07-13
2005-07-07
snag with btree.get(key)
Mario Ruggier
2005-07-07
On Jul 7, 2005, at 8:24 PM, Neil Schemenauer wrote:
> On Thu, Jul 07, 2005 at 08:06:58PM +0200, Mario Ruggier wrote:
>> Again, for the other btree, with simple integer ids, collecting
>> exactly
>> the same set of instances, the above loop always produces the correct
>> output.
>>
>> Plus, previously this keybindings index was using a persistent_dict,
>> with the same identical key tuples, and I never ran into any such
>> problems.
>>
>> Any ideas of what may be happening?
>
> You might be getting bitten by the fact that btree keys are
> compared, not hashed.

Ok, that does sound like what's happening... but, can I do anything
about it?
I cannot use btrees if i use such keys?


mario

reply