From a13460ac4427892be613bf0e2988f5a2b2364602 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Sat, 15 Feb 2025 21:09:37 +0800 Subject: Add Neil's suggestions to whatsnew wording for tailcall (#130155) Add Neil's suggestions Co-authored-by: Neil Schemenauer <690853+nascheme@users.noreply.github.com> --- Doc/whatsnew/3.14.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ece5afd..c42a5a0 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -224,7 +224,9 @@ configuration mechanisms). A new type of interpreter ------------------------- -A new type of interpreter based on tail calls has been added to CPython. +A new type of interpreter has been added to CPython. +It uses tail calls between small C functions that implement individual +Python opcodes, rather than one large C case statement. For certain newer compilers, this interpreter provides significantly better performance. Preliminary numbers on our machines suggest anywhere from -3% to 30% faster Python code, and a geometric mean of 9-15% -- cgit v0.12