pub fn materialize_node_cached(
parsed: &ParsedDescriptor,
store: &dyn SeedStore,
cache: &mut dyn OutputCache,
node: &SeedNode,
limits: Limits,
budget: &mut EvalBudget,
depth: u16,
reuse: &mut ReuseStats,
) -> Result<Vec<u8>>Expand description
Materialize one node’s output, consulting cache at every node (including
dependencies).
A hit returns the cached bytes without recursing into the node’s dependency
closure and increments ReuseStats::nodes_reused; a miss evaluates the node
(recursing through the same cache) and stores the output. Exact Q_ref nodes
are cached too, since their output is equally a pure function of their id.