Performance ordered dictionary vs normal dictionary

Chris Rebert clp2 at
Tue Aug 3 10:37:14 CEST 2010

On Fri, Jul 30, 2010 at 9:18 PM, Dan Stromberg <drsalists at> wrote:
> On Wed, Jul 28, 2010 at 11:11 PM, Chris Rebert <clp2 at> wrote:
>> (You are aware that the "ordered" in OrderedDict means that its keys
>> are ordered, and not that, say, a list containing OrderedDicts can be
>> sorted, right?)
> Actually, a collections.OrderedDict saves things not in key order, but in
> chronological order:

Well yeah, that's why I specifically said "ordered" as opposed to the
less awkward and more obvious but completely inaccurate "sorted" (==
your "key order").

- Chris

More information about the Python-list mailing list