Loading [MathJax]/extensions/tex2jax.js
E.V.E
v2023.02.15
 
All Classes Namespaces Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
Loading...
Searching...
No Matches

◆ for_each_iteration_with_expensive_optional_part

eve::algo::for_each_iteration_with_expensive_optional_part

#include <eve/module/algo/algo/for_each_iteration_with_expensive_optional_part.hpp>

Defined in Header

#include <eve/module/algo.hpp>

for_each_iteration, even if not unrolled, generates a few copies of the callback code. For some algorithms we want to move out a piece of callback code but we still don't want a function call. Think search: we want to move the more expensive part of validating match outside.

You can find example usage in the search implementation.