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.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode