[Python-Dev] More compact dictionaries with faster iteration
raymond.hettinger at gmail.com
Tue Dec 11 00:44:49 CET 2012
On Dec 10, 2012, at 1:38 PM, PJ Eby <pje at telecommunity.com> wrote:
> Without numbers it's hard to say for certain, but the advantage to
> keeping ordered dictionaries a distinct type is that the standard
> dictionary type can then get that extra bit of speed in exchange for
> dropping the ordering requirement.
I expect that dicts and OrderedDicts will remain separate
for reasons of speed, space, and respect for people's mental models.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev