Dictionary in Python

Vladimir Marangozov Vladimir.Marangozov at inrialpes.fr
Tue Mar 14 15:24:51 CET 2000

Hrvoje Niksic, replying:
> AFAIK Python dictionaries increase dynamically.

They also shrink dynamically. For those who are interested, there was
a good discussion on the dict implementation in the august 1999 archives
of python-dev. Look for a thread "shrinking dicts". Tim Peters explains
some subtleties of the implementation, especially in this msg:


       Vladimir MARANGOZOV          | Vladimir.Marangozov at inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252

More information about the Python-list mailing list