I worked on a project that did real time processing of data coming in at 250 times a second. And it was doing crazy math, like wavelet decomposition and all sorts of stuff. The first time I went like, Oh, no, please don't make me try to optimizewavelet decomposition. You know, it's kind of like Fourier analysis, but worse. So break out the profiler. It turned out that we had to sort of do lookups back in the past on our data structures. We were spending 80% of our time just looking for stuff in the list,. Just switched it to an O andYeah, exactly. We just switched it to a dictionary

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