Talk Python To Me cover image

#344: SQLAlchemy 2.0

Talk Python To Me

00:00

Python's Memory Model

Python's memory model is really interesting. When you create GC, the GC module, you can say GC get thresholds or set thresholds. And the thresholds tell you what will trigger a garbage collection - not reference counting, but a cycle detection type of thing. So if you select 10,000 rows out of a database, how many GCs are running? I mean, that's that's a lot, right? That's like 14 GCs.

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