[issue37017] Use LOAD_METHOD optimization in CallMethod C API functions

Michael J. Sullivan report at bugs.python.org
Thu May 23 12:48:57 EDT 2019


Michael J. Sullivan <sully at msully.net> added the comment:

I believe that this is orthogonal to PEP 590.

PyObject_CallMethodObjArgs and friends take varargs which need to be copied into an array one way or another. It is easy (and efficient) to prepend the base while copying the function arguments into the array (see the attached PR). I don't think that vector call will change anything about this.

----------

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


More information about the Python-bugs-list mailing list