Expand description
Typed border for the evaluation cache.
cppnix has eval-cache-v5.sqlite; sui has sui-cache-eval
(BLAKE3-keyed memoization). Both serve the same purpose:
avoid re-evaluating expressions whose dependencies haven’t
changed. This module names the contract.
Structs§
- Cache
KeyInputs - Inputs to a cache-key derivation. When
key_input == ExprPlusInputs, all fields contribute; forCanonicalAstonlyexprdoes. - Eval
Cache Format
Enums§
Constants§
Functions§
- derive_
cache_ key - Derive a cache key for an evaluation. M3.0 uses hex of sha256 (or blake3) of a canonical text serialisation of the inputs. The resulting key is what the cache database indexes by.
- load_
canonical - Compile every authored eval-cache format.