Python 3.1 beta 1

Benjamin Peterson benjamin at python.org
Thu May 7 18:37:46 EDT 2009


 <bearophileHUGS <at> lycos.com> writes:
> 
> collections.Counter and collections.OrderedDict: very nice and useful.
> Is the order inside OrderedDict kept with a double linked list of the
> items?
 
There's a doubly-linked list containing the values. Another dictionary maps keys
to the list.






More information about the Python-list mailing list