Optimises a filtering algorithm for most elements kept per step.
Variables | |
| constexpr auto | eve::algo::dense_output = (density_key = eve::dense) |
|
inlineconstexpr |
#include <eve/module/algo.hpp>Shapes a filtering algorithm for a step that keeps most of its lanes, which is the default. 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; this one measures better in most cases, and eve::algo::sparse_output suits a step that keeps a handful of lanes.