Talk Python To Me cover image

#388: Python 3.11 is here and it's fast

Talk Python To Me

Using the Built-Ins Dictionary to Do the Same Thing in Python

2min Snip

00:00
Play full episode
A good example is something like a global load or a load from the built-in. So, I'm looking up like the LAN function. That requires two dictionary lookups. Every time I want to use LAN or range or list or any of those built-ins, that's the cost that I have to pay. And so, you obviously in a lot of code as like a older code is a kind of a micro optimization.

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