Talk Python To Me cover image

#28: Making Python Fast: Profiling Python Code

Talk Python To Me

00:00

How to Use CPython to Improve Performance

The global interpreter lock is very, for cluding you can't do multiple computation computations at the same time. Because CPython only allows to be used at one core at a time. Basically computational parallelism is not such a thing. And Python, if you're you got to drop down to C or multiple fork the processes or something like that, right? Exactly. But when you when you're doing IO, which doesn't involve any Python, you can use threading to do things like, you know, file system,. That's great for Python's threading. But otherwise you don't really want to be using it.

Play episode from 25:13
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