Skip to content

Commit 2e64e36

Browse files
chris-eiblhugovk
andauthored
GH-139922: update 3.15 whatsnew: Windows 64-bit binaries now use the tail-calling interpreter (#146391)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent d4153a9 commit 2e64e36

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ Summary -- Release highlights
8484
<whatsnew315-pybyteswriter>`
8585
* :ref:`The JIT compiler has been significantly upgraded <whatsnew315-jit>`
8686
* :ref:`Improved error messages <whatsnew315-improved-error-messages>`
87-
87+
* :ref:`The official Windows 64-bit binaries now use the tail-calling interpreter
88+
<whatsnew315-windows-tail-calling-interpreter>`
8889

8990
New features
9091
============
@@ -1294,18 +1295,6 @@ zlib
12941295
Optimizations
12951296
=============
12961297

1297-
* Builds using Visual Studio 2026 (MSVC 18) may now use the new
1298-
:ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`.
1299-
Results on Visual Studio 18.1.1 report between
1300-
`15-20% <https://github.com/faster-cpython/ideas/blob/main/results/5800X-msvc.pgo2-vs-msvc.pgo.tc.svg>`__
1301-
speedup on the geometric mean of pyperformance on Windows x86-64 over
1302-
the switch-case interpreter on an AMD Ryzen 7 5800X. We have
1303-
observed speedups ranging from 14% for large pure-Python libraries
1304-
to 40% for long-running small pure-Python scripts on Windows.
1305-
This was made possible by a new feature introduced in MSVC 18.
1306-
(Contributed by Chris Eibl, Ken Jin, and Brandt Bucher in :gh:`143068`.
1307-
Special thanks to the MSVC team including Hulon Jenkins.)
1308-
13091298
* ``mimalloc`` is now used as the default allocator for
13101299
for raw memory allocations such as via :c:func:`PyMem_RawMalloc`
13111300
for better performance on :term:`free-threaded builds <free-threaded build>`.
@@ -1962,6 +1951,23 @@ Build changes
19621951
and :option:`-X dev <-X>` is passed to the Python or Python is built in :ref:`debug mode <debug-build>`.
19631952
(Contributed by Donghee Na in :gh:`141770`.)
19641953

1954+
.. _whatsnew315-windows-tail-calling-interpreter:
1955+
1956+
* 64-bit builds using Visual Studio 2026 (MSVC 18) may now use the new
1957+
:ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`.
1958+
Results on Visual Studio 18.1.1 report between
1959+
`15-20% <https://github.com/faster-cpython/ideas/blob/main/results/5800X-msvc.pgo2-vs-msvc.pgo.tc.svg>`__
1960+
speedup on the geometric mean of pyperformance on Windows x86-64 over
1961+
the switch-case interpreter on an AMD Ryzen 7 5800X. We have
1962+
observed speedups ranging from 14% for large pure-Python libraries
1963+
to 40% for long-running small pure-Python scripts on Windows.
1964+
This was made possible by a new feature introduced in MSVC 18,
1965+
which the official Windows 64-bit binaries on python.org__ now use.
1966+
(Contributed by Chris Eibl, Ken Jin, and Brandt Bucher in :gh:`143068`.
1967+
Special thanks to Steve Dower, and the MSVC team including Hulon Jenkins.)
1968+
1969+
__ https://www.python.org/downloads/windows/
1970+
19651971

19661972
Porting to Python 3.15
19671973
======================

0 commit comments

Comments
 (0)