Cache

Keyed storage for reusing previously obtained values

Infrastructure · Data Structures · bootstrap 0.11.0

Mechanism

A temporary keyed storage layer for keeping frequently accessed Datum or State alongside the inputs that produced them, so repeat lookups bypass re-computation. Read-through, write-behind, and invalidation discipline are descendant concerns; the foundation is the keyed lookup that returns a stored value if present.

Invariants

Preconditions

Postconditions

Failure modes

Where this came from

—

Builds on

Used by

Identity