This PR adds simple generic functions for filtered reduction specifically Sum([]T, Bitmap), Min([]T, Bitmap) and Max([]T, Bitmap). They are not the most optimized at the moment, but should be at least 2x better than the naive implementations using range or loop, as these reductions are done in a vectorized way.
This PR adds simple generic functions for filtered reduction specifically
Sum([]T, Bitmap)
,Min([]T, Bitmap)
andMax([]T, Bitmap)
. They are not the most optimized at the moment, but should be at least 2x better than the naive implementations using range or loop, as these reductions are done in a vectorized way.