[issue31336] Speed up _PyType_Lookup() for class creation

Serhiy Storchaka report at bugs.python.org
Mon Sep 4 08:53:37 EDT 2017


Serhiy Storchaka added the comment:

What names are looked up when you create an empty class?

I'm surprised that this change has measurable performance effect. Aren't name an interned string with precalculated cache?

----------
nosy: +haypo, inada.naoki, pitrou, rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31336>
_______________________________________


More information about the Python-bugs-list mailing list