order independent hash?
Lie Ryan
lie.1296 at gmail.com
Sat Dec 10 22:04:55 EST 2011
On 12/11/2011 11:17 AM, Chris Angelico wrote:
> On Sun, Dec 11, 2011 at 10:58 AM, Lie Ryan<lie.1296 at gmail.com> wrote:
>> On 12/09/2011 10:27 PM, Steven D'Aprano wrote:
>>> Except for people who needed dicts with tens of millions of items.
>>
>> who should be using a proper DBMS in any case.
>
> Not necessarily. "Database" usually implies disk-based and relational,
> features that may well be quite superfluous; and a pure-memory
> database with no relational facilities... is basically a dict. So why
> not use one?
It is very unlikely you'd have millions of items in a dict and you're
not planning to do any data processing at all. In any case, there are
very few use cases which requires the use of a dict with millions of
items that wouldn't be better served by a proper database.
More information about the Python-list
mailing list