3 ms·
One downside of this approach is that you don't have as much discrete control over your access patterns. In his intersection case he's having to hit at least s
by vvanders 11y ago
One downside of this approach is that you don't have as much discrete control over your access patterns.
In his intersection case he's having to hit at least some items twice, depending his cache locality that could be pretty painful.
That said I do map/filter is great for areas that aren't performance critical.