You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prefer the tail-calling interpreter by default when supported #162637
buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetype-featureA feature request or enhancement
Tail calling interpreter has now broad support across compilers and platforms/architectures.
Use tail calls by default with GCC 16+ or supported Clang 19+ on Unix, and with supported clang-cl or optimized MSVC on Windows.
For MSVC, the minimum toolset is:
14.50 on x64
14.52 on Arm64
Fall back to computed gotos where available, then switch dispatch, and preserve explicit build overrides.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Reacted by Zachary Ware, Zverev Konstantin and Andrew Svetlov
buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetype-featureA feature request or enhancement
Activity