[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered

Eric Snow ericsnowcurrently at gmail.com
Tue Sep 20 11:17:01 EDT 2016


On Tue, Sep 20, 2016 at 5:11 AM, INADA Naoki <songofacandy at gmail.com> wrote:
> But both of OrderedDict and lru_cache improvements can't be in 3.6
> since 3.6 is beta now.
> I'll try it after 3.6rc1.

When you do, make sure you keep in mind the performance constraints of
*all* the OrderedDict methods.  The constraints are discussed somewhat
at the top of https://hg.python.org/cpython/file/tip/Objects/odictobject.c.

-eric


More information about the Python-Dev mailing list