[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Sep 15 12:33:25 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 ]
On Thu, 15 Sep 2016 18:13:54 +0200 Antoine Pitrou <solipsis at pitrou.net> wrote:
This also shows that a micro-benchmark that merely looks ok can actually be a terrible proxy of actual performance.
... unless all your dicts have their key objects nicely arranged sequentially in heap memory, of course.
Regards
Antoine.
- 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 ]