Talk Python To Me cover image

#332: Robust Python

Talk Python To Me

Is a Dictionary Look Up a Lot Faster Than Ittering?

2min Snip

00:00
Play full episode
A dictionary look up will be faster than ittering or bolest. But if what you have to do is every time create the dictionaryand then do the look up, probably that act of creating the dictionary erases the speed up because yu would have just your kind of looping it over anyway. It might not actually be germaneo making your programm feel any faster,. Cause it's like optimizing in basically, and and i don't want to misrepresent.

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