From: Ken Jin Date: Sat, 15 Feb 2025 13:09:37 +0000 (+0800) Subject: Add Neil's suggestions to whatsnew wording for tailcall (#130155) X-Git-Tag: v3.14.0a6~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a13460ac4427892be613bf0e2988f5a2b2364602;p=thirdparty%2FPython%2Fcpython.git 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> --- diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ece5afd4597a..c42a5a022b7e 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%