Function sequant::cache_manager¶
Defined in File cache_manager.hpp
Function Documentation¶
-
CacheManager sequant::cache_manager(meta::eval_node_range auto const &nodes, size_t min_repeats = 2) noexcept¶
Make a cache manager from an iterable of evaluable nodes.
See also
- Parameters:
nodes – An iterable of eval nodes.
min_repeats – Minimum number of repeats for a node to be cached. By default anything repeated twice or more is cached.
- Returns:
A cache manager.