[issue34090] Python function call optimization: avoid temporary tuple to pass **kwargs

Jeroen Demeyer report at bugs.python.org
Fri Apr 5 06:27:28 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

This might be solvable using PEP 580 by using METH_VARARGS instead of METH_FASTCALL for such functions. This would still require a temporary tuple for the positional args but no additional dict would need to be allocated.

----------
nosy: +jdemeyer

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34090>
_______________________________________


More information about the Python-bugs-list mailing list