]> granicus.if.org Git - python/commit
call_function_tail() uses fast call
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 19 Aug 2016 14:44:19 +0000 (16:44 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 19 Aug 2016 14:44:19 +0000 (16:44 +0200)
commit8880708f8149856b99abf480f913760a64203c39
tree003c1165bd7811b2a3fc706267540a42365d4799
parent3f745bf1d90a75a0e3df5ba4d59b3ffbb71e3ebc
call_function_tail() uses fast call

Issue #27128: Modify call_function_tail() to use _PyObject_FastCall() when args
is not a tuple to avoid the creation of a temporary tuple.

call_function_tail() is used by:

* PyObject_CallFunction()
* PyObject_CallMethod()
* _PyObject_CallMethodId()
Objects/abstract.c