need optimizing help
Aahz
aahz at pythoncraft.com
Sat Mar 13 14:07:48 EST 2004
In article <68aadb4a.0403131007.8eeeb26 at posting.google.com>,
rabbits77 <rabbits77 at bigmailbox.net> wrote:
>
>I have a dictionary with a very very large(possibly millions) of
>key/value pairs.
If it's literally millions, you probably want to use a database. Just
the dictionary itself (not even talking about the objects used for keys
and values) will take at least 12MB per million entries on a machine with
32-bit addresses.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"usenet imitates usenet" --Darkhawk
More information about the Python-list
mailing list