Talk Python To Me cover image

#28: Making Python Fast: Profiling Python Code

Talk Python To Me

00:00

How to Fix C Profile Problems

There's a plethora of methods that you can do depending on what your profile is showing. For example, if you're spending a lot of time in in Python code, then you can definitely look at things like using a different interpreter. An optimizing compiler like pi pi will definitely make your code run a lot faster as it'll translate to machine code at runtime. You could also look at the algorithm that you're using and see if it's, for example, like an ON cubed time complexity algorithm,. That would be terrible, and you might want to fix that. It's become a useful tool of mine that I'll definitely be using in the future. I always have my virtual line of

Play episode from 21:37
Transcript

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