Python Bytes cover image

#316 Python 3.11 is here and it's fast (crossover)

Python Bytes

00:00

Adaptive Interpreter

Brent: Basically the headline is the bytecode changes while it's running to adapt to your code. It's kind of finding places where we can do the same thing, but using less work by like cheating a little bit and not visible at all. A good example is something like a global load or a load from the built in. So if I'm looking at like the LEN function, that requires two dictionary lookups. Every time I want to use LEN or range or list or any of those built in's,. That's the cost that I have to pay. But people don't change the global namespace that often and people change the built in's naming system even less often

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app