[issue29259] Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects

INADA Naoki report at bugs.python.org
Tue Jan 17 13:08:30 EST 2017


INADA Naoki added the comment:

> Maybe it's the expensive price of creating a temporary dictionary?

Please see the patch on issue29295.
PyDict_GetItemString() is bad part, too.
It's create str object, calc hash, lookup dict, and dealloc the str object.

----------

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


More information about the Python-bugs-list mailing list