Skip to main content

Module pure_cache

Module pure_cache 

Source
Expand description

In-memory cache for Pure stage outputs.

A Pure stage is deterministic and side-effect-free: for the same input, it always returns the same output. We can therefore skip execution entirely when we’ve already seen a (stage_id, input_hash) pair during the current run.

The cache lives for the duration of a single run_composition call and is never persisted to disk.

Structs§

PureStageCache