[Python-Dev] PEP 468 (Ordered kwargs)

Eric Snow ericsnowcurrently at gmail.com
Sat Jan 24 19:05:00 CET 2015


On Sat, Jan 24, 2015 at 3:50 AM, Maciej Fijalkowski <fijall at gmail.com> wrote:
> I would like to point out that we implemented rhettingers idea in PyPy
> that makes all the dicts ordered by default and we don't have any
> adverse performance effects (in fact, there is quite significant
> memory saving coming from it). The measurments on CPython could be
> different, but in principle OrderedDict can be implemented as
> efficiently as normal dict.
>
> Writeup: http://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html
>
> Previous discussion:
> https://mail.python.org/pipermail/python-dev/2012-December/123028.html

Cool.  I'll add a note to the PEP.

-eric


More information about the Python-Dev mailing list