Algorithms + Data Structures = Programs cover image

Episode 124: Vectorizing std::views::filter

Algorithms + Data Structures = Programs

00:00

The Problem With Vectorizing a for Loop

The problem is sort of inherent to how we designed The filter view that it goes from n to In minus m and you don't know What that? minus m is Now Let's go back up to the thing that does vectorize here, which is the for loop that has a simple if In its body That says like hey if this elements Filtered end and do this thing and otherwise do nothing Well what if like we essentially built a filter that worked like that or like what if  we essentially built a A protocol For Composing these you know filter and filter like operations Where the end consumer would agree that hey I Whenever I see some So I'm like empty tombstone value, I'm

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