[issue31336] Speed up _PyType_Lookup() for class creation
Serhiy Storchaka
report at bugs.python.org
Mon Sep 4 13:45:19 EDT 2017
Serhiy Storchaka added the comment:
After adding PyErr_Clear() the benefit of this optimization is smaller. Only 8% on my 64-bit computer. And no any effect on 32-bit. I wounder if it is worth to complicate the code for such small benefit. For non-empty classes the relative benefit is even smaller. Maybe there are other opportunities for optimization?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31336>
_______________________________________
More information about the Python-bugs-list
mailing list