|
SpECTRE
v2026.06.30
|
A cache that selects and lazily initializes entries at runtime. More...
#include <RuntimeCache.hpp>
Public Member Functions | |
| RuntimeCache (Generator generator) | |
| template<typename... Args> | |
| const T & | operator() (const Args... parameters) const |
A cache that selects and lazily initializes entries at runtime.
Unlike StaticCache, this class does not instantiate the generator once for every combination of indices. This reduces compile time for large caches at the cost of runtime index calculation and synchronization.