[Python-Dev] More compact dictionaries with faster iteration
Raymond Hettinger
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.
Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121210/e3a3a047/attachment.html>
More information about the Python-Dev
mailing list