Skip to content

Streamline dfei test functor usage

Gerhard Raven requested to merge improve-dfei-test into master
  • Remove unneeded VALUE and VALUE_OR functors, and put the actually necessary ones in a more logical place
  • Drop unnecessary CAST_TO_FLOAT: this depends on Rec!4071 (merged), which generalizes the 'SUM' functor so that it can sum integers, and not just floats
  • Prefer COUNT_IF(predicate) over SIZE_OF @ FILTER(predicate)
  • Make creation of FunctorCollection more structured: instead of repeating lots of things, construct them from basic blocks.
  • Take advantage of the more generic FLATTEN in Rec!4071 (merged) to flatten 'earlier', which further simplifies the structure

must go together with Rec!4071 (merged)

Edited by Gerhard Raven

Merge request reports

Loading