[New-bugs-announce] [issue37017] Use LOAD_METHOD optimization in CallMethod C API functions

Michael J. Sullivan report at bugs.python.org
Wed May 22 20:32:24 EDT 2019


New submission from Michael J. Sullivan <sully at msully.net>:

The different varieties of PyObject_CallMethod* routines all operate by doing a PyObject_GetAttr to fetch an object to call. It seems likely to be worthwhile to take advantage of the LOAD_METHOD optimization that avoids creating a bound method object when calling a method.

----------
components: Extension Modules
messages: 343259
nosy: msullivan
priority: normal
severity: normal
status: open
title: Use LOAD_METHOD optimization in CallMethod C API functions
versions: Python 3.8

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


More information about the New-bugs-announce mailing list