How we are making Python 3.11 faster - presented by Mark Shannon
59.4 هزار بار بازدید -
2 سال پیش
-
EuroPython 2022 - How we
EuroPython 2022 - How we are making Python 3.11 faster - presented by Mark Shannon
[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.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/b...
[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.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/b...
2 سال پیش
در تاریخ 1401/08/04 منتشر شده
است.
59,496
بـار بازدید شده