classification
Title: Use _PY_FASTCALL_SMALL_STACK for method_vectorcall
Type: performance Stage: resolved
Components: Interpreter Core Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: inada.naoki, jdemeyer
Priority: normal Keywords: patch

Created on 2019-06-11 14:43 by jdemeyer, last changed 2019-06-18 13:41 by jdemeyer. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13974 merged jdemeyer, 2019-06-11 15:16
Messages (2)
msg345234 - (view) Author: Jeroen Demeyer (jdemeyer) * Date: 2019-06-11 14:43
The PEP 590 implementation for type "method" caused a minor regression: instead of using _PyObject_Call_Prepend(), method_vectorcall manually allocates and fills a newly allocated vector. This does NOT use the  _PY_FASTCALL_SMALL_STACK optimization, but it should.
msg345968 - (view) Author: Inada Naoki (inada.naoki) * (Python committer) Date: 2019-06-18 08:56
New changeset 988e6aa322fb61651812fa5a61ec73316c71b041 by Inada Naoki (Jeroen Demeyer) in branch 'master':
bpo-37233: use _PY_FASTCALL_SMALL_STACK in method_vectorcall (GH-13974)
https://github.com/python/cpython/commit/988e6aa322fb61651812fa5a61ec73316c71b041
History
Date User Action Args
2019-06-18 13:41:51jdemeyersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-06-18 08:56:57inada.naokisetnosy: + inada.naoki
messages: + msg345968
2019-06-11 15:16:43jdemeyersetkeywords: + patch
stage: patch review
pull_requests: + pull_request13841
2019-06-11 14:43:31jdemeyercreate