Talk Python To Me

#381: Python Perf: Specializing, Adaptive Interpreter

09.16.2022 - By Michael Kennedy (@mkennedy)Play

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

We are on the edge of a major jump in Python performance. With the work done by the Faster CPython team and Python 3.11 due out in around a month, your existing Python code might see an increase of well over 25% in speed with no changes. One of the main reasons is its new specializing, adaptive interpreter. This episode is about that new feature and a great tool called Specialist which lets you visualize how Python is speeding up your code and where it can't unless you make minor changes. Its creator, Brandt Bucher is here to tell us all about.

More episodes from Talk Python To Me