Optimises a filtering algorithm for few elements kept per step.
Variables | |
| constexpr auto | eve::algo::sparse_output = (density_key = eve::sparse) |
|
inlineconstexpr |
#include <eve/module/algo.hpp>Shapes a filtering algorithm for a step that keeps a handful of lanes. eve::algo::copy_if, eve::algo::remove_if and eve::algo::set_intersection write what they keep, and their loop has one shape per expected density; eve::algo::dense_output, the default, suits a step that keeps most of its lanes.