[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
Victor Stinner
victor.stinner at gmail.com
Sun Sep 11 04:42:28 EDT 2016
More information about the Python-Dev mailing list
Sun Sep 11 04:42:28 EDT 2016
- Previous message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Next message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2016-09-10 23:24 GMT-04:00 Nick Coghlan <ncoghlan at gmail.com>: > To conform with the updated language spec, implementations just need > to use collections.OrderedDict in 3 places: > > (...) > - storage type for passing kwargs to functions I'm not sure about the "just need" for this one, especially if you care of performances ;-) I mean, it's not easy to write an *efficient* hash table preserving the insertion order. Otherwise, CPython would have one since Python 1.5 :-) Victor
- Previous message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Next message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list