mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-128563: Document the tail-calling interpreter (GH-129728)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
a3d5aab9a8
commit
3d3a4beefe
2 changed files with 35 additions and 0 deletions
|
|
@ -618,6 +618,16 @@ also be used to improve performance.
|
|||
Enable computed gotos in evaluation loop (enabled by default on supported
|
||||
compilers).
|
||||
|
||||
.. option:: --with-tail-call-interp
|
||||
|
||||
Enable interpreters using tail calls in CPython. If enabled, enabling PGO
|
||||
(:option:`--enable-optimizations`) is highly recommended. This option specifically
|
||||
requires a C compiler with proper tail call support, and the
|
||||
`preserve_none <https://clang.llvm.org/docs/AttributeReference.html#preserve-none>`_
|
||||
calling convention. For example, Clang 19 and newer supports this feature.
|
||||
|
||||
.. versionadded:: next
|
||||
|
||||
.. option:: --without-mimalloc
|
||||
|
||||
Disable the fast :ref:`mimalloc <mimalloc>` allocator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue