gh-139922: Add tail call for MSVC for whats new in 3.15 (GH-143087)

This commit is contained in:
Ken Jin 2025-12-23 07:56:26 +08:00 committed by GitHub
parent be3c131640
commit 714037ba84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -849,6 +849,16 @@ zlib
Optimizations
=============
* Builds using Visual Studio 2026 (MSVC 18) may now use the new
:ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`.
Results on an early experimental MSVC compiler reported roughly 15% speedup
on the geometric mean of pyperformance on Windows x86-64 over
the switch-case interpreter. We have
observed speedups ranging from 15% for large pure-Python libraries
to 40% for long-running small pure-Python scripts on Windows.
(Contributed by Chris Eibl, Ken Jin, and Brandt Bucher in :gh:`143068`.
Special thanks to the MSVC team including Hulon Jenkins.)
csv
---