We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

How we are making Python 3.11 faster

Formal Metadata

Title
How we are making Python 3.11 faster
Title of Series
Number of Parts
112
Author
License
CC Attribution - NonCommercial - ShareAlike 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
[The Auditorium on 2022-07-14] The "Faster CPython" project aims to speed up Python, specifically CPython, by a large factor over the next few releases. The first release to see the benefits of this work is Python 3.11. Python 3.11 includes the following major changes: * Adaptive specializing interpreter (PEP 659) * Consecutively allocated execution frames * Zero cost try-except * More regular object layout * Lazily created object dictionaries. I will describe each of these, describing how each helps speed up Python, and how they interact with each other. I will end the talk with some possible directions for Python 3.12.