]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add Neil's suggestions to whatsnew wording for tailcall (#130155)
authorKen Jin <kenjin@python.org>
Sat, 15 Feb 2025 13:09:37 +0000 (21:09 +0800)
committerGitHub <noreply@github.com>
Sat, 15 Feb 2025 13:09:37 +0000 (21:09 +0800)
Add Neil's suggestions

Co-authored-by: Neil Schemenauer <690853+nascheme@users.noreply.github.com>
Doc/whatsnew/3.14.rst

index ece5afd4597ab8d3005415eb11981d22a16ffef2..c42a5a022b7e4399b1940b676f514599b2e6e0f4 100644 (file)
@@ -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%