Performance improvements in 3.14 and maybe 3.15
- Track:
- Python Core, Internals, Extensions
- Type:
- Talk
- Level:
- intermediate
- Duration:
- 30 minutes
Abstract
After making a splash with major performance improvements in Python 3.11, things were relatively quiet for 3.12 and 3.13. CPython got faster, but not by much.
For 3.14, performance is up again. CPython 3.14 will be quite a bit faster than 3.13 and, we hope, 3.15 will be quite a bit faster again.
In this talk, I will cover the most important ways in which we are speeding up CPython 3.14 and plan to speed up 3.15, including:
- A faster interpreter
- The JIT compiler
- Faster garbage collection
- Lower overhead reference counting
- Tagged integers