[issue29507] Use FASTCALL in call_method() to avoid temporary tuple

STINNER Victor report at bugs.python.org
Thu Feb 9 18:50:16 EST 2017


STINNER Victor added the comment:

callmethod2.patch: I like that change on object_vacall(), I'm not sure about the change on PyObject_CallMethod*() only for empty format string.

I suggest to split your patch into two parts, and first focus on object_vacall(). Do you have a benchmark for this one?

Note: I doesn't like the name I chose for object_vacall(). If we modify it, I would suggest to rename it objet_call_vargs() instead.

Anyway, before pushing anything more, I would like to take a decision on the repr()/test_exceptions issue. What do you think Naoki?

----------

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


More information about the Python-bugs-list mailing list