Python 3.11: A Guided Tour Through Code Transcripts
Chapter: Python 3.11 Performance
Lecture: Headline Feature: Python 3.11 Performance
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
We've come to the headline feature, the headline advantage of Python 3.11 and that's performance.
0:09
I said at the beginning that these better error messages for one of two major things.
0:14
Well, here is the second and for me, this is actually the biggest and most important change, Python 3.11 is maybe 40% faster than even python 3.10.
0:28
And for something that's been around and been maintained and improved for over 30 years to make that big of a
0:34
jump in just one year. It's incredible Guido Van Rossum, Mark Shannon and a bunch of other folks over at Microsoft as well as other core developers.
0:44
But there's a special team at Microsoft specifically focused on making CPython faster,
0:50
you know what they're called, the faster CPython team and their goal is to continue making these improvements,
0:56
these big jumps over the next couple of versions. This is really the first one that gets a big boost
1:03
from that work. So it's just the beginning, but it's really,
1:06
really exciting in this chapter. We're going to see some of the features that make this possible, but not all of them, there's a bunch of small changes in a few really big ones.