https://github.com/python/cpython/commit/a13460ac4427892be613bf0e2988f5a2b2364602 commit: a13460ac4427892be613bf0e2988f5a2b2364602 branch: main author: Ken Jin <[email protected]> committer: Fidget-Spinner <[email protected]> date: 2025-02-15T21:09:37+08:00 summary:
Add Neil's suggestions to whatsnew wording for tailcall (#130155) Add Neil's suggestions Co-authored-by: Neil Schemenauer <[email protected]> files: M Doc/whatsnew/3.14.rst diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ece5afd4597ab8..c42a5a022b7e43 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% _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
