Talk Python To Me cover image

#381: Python Perf: Specializing, Adaptive Interpreter

Talk Python To Me

00:00

Adaptive Instructions in Python

If you just slightly change the order, it actually has a different run time behavior. So we can see here that some things were specialized very well. For instance, look at a cir round trick. Ye, that's brak green. And then you go through ad say, well, let's run the specialist on it to get its output and maybe talk about this first variation that we get here. Yes. That's basically as fast as any function call python is going to be. But some things are't specialized. Those are yellow because the math that they're evolved in, the subtraction operation wasn't specialized. I sow, so haf te af, know what they were involved

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