Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-95913: Edit Faster CPython section in 3.11 WhatsNew #98429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 7, 2023
Prev Previous commit
Next Next commit
Add Brandt's gh-91404 regex speedup from Optimizations to Misc section
  • Loading branch information
CAM-Gerlach committed Oct 19, 2022
commit 076e3315f14525569b89b35f0f83fcf726e4e45b
7 changes: 7 additions & 0 deletions 7 Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,13 @@ Misc
time required for catching an exception by about 10%.
(Contributed by Irit Katriel in :issue:`45711`.)

* :mod:`re`'s regular expression matching engine has been partially refactored,
and now uses computed gotos (or "threaded code") on supported platforms. As a
result, Python 3.11 executes the `pyperformance regular expression benchmarks
<https://pyperformance.readthedocs.io/benchmarks.html#regex-dna>`_ up to 10%
faster than Python 3.10.
(Contributed by Brandt Bucher in :gh:`91404`.)


.. _whatsnew311-faster-cpython-faq:

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.