
Episode 124: Vectorizing std::views::filter
Algorithms + Data Structures = Programs
00:00
The Importance of Filter in Spaces and Indices Framework
The use case for filter in This spaces and indices framework is exactly for the kind of stuff that you're essentially creating. You can think of it as like a boolean mask of like which elements in this arbitrarily ranked matrix do I want to perform some kind of transformation on or operation on? Because of that, because of that This fake filter is actually completely fine. Really the filter we were using before that does that kind of nested iteration or Nested looping that price as Bryce described it is not at all what we want to do. Yes So like I said a motivating example is really just all you needed Bryce. It still knows how to write code Okay, it compiled but it miraculously did
Transcript
Play full episode