]> granicus.if.org Git - python/commit
bpo-31336: Speed up type creation. (#3279)
authorscoder <stefan_ml@behnel.de>
Sun, 1 Oct 2017 08:37:47 +0000 (10:37 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Oct 2017 08:37:47 +0000 (11:37 +0300)
commit2102c789035ccacbac4362589402ac68baa2cd29
tree952c4aba1d5994af985acdc7dba05e485ec03231
parentd6bb65f378e34fe0c11fdb39588357ecf22964eb
bpo-31336: Speed up type creation. (#3279)

Speed up class creation by 10-20% by reducing the overhead in the
necessary special method lookups.
Misc/NEWS.d/next/Core and Builtins/2017-09-13-12-04-23.bpo-31336.gi2ahY.rst [new file with mode: 0644]
Objects/typeobject.c