[New-bugs-announce] [issue45753] Further speed up Python-to-Python calls.

Mark Shannon report at bugs.python.org
Mon Nov 8 12:17:55 EST 2021


New submission from Mark Shannon <mark at hotpy.org>:

There are three things we want to do:

1. Speed up pushing and popping frames. See https://github.com/faster-cpython/ideas/issues/111 for details.
2. Avoid tracing and other admin overhead on entering and leaving. See https://github.com/faster-cpython/ideas/issues/112.
3. Keep the remaining recursion depth in the cframe, to reduce the work for a recursion check from
`++tstate->recursion_depth > tstate->interp->ceval.recursion_limit`
to
`cframe.recursion_overhead-- > 0`

----------
assignee: Mark.Shannon
components: Interpreter Core
messages: 405970
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Further speed up Python-to-Python calls.
type: performance
versions: Python 3.11

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


More information about the New-bugs-announce mailing list