CacheKit Docs

High-performance cache policies and supporting data structures.

View the Project on GitHub OxidizeLabs/cachekit

Clock-PRO operational spec

Spec maturity: stub

Executable oracle: invariant checks on ClockProCache; no full PolicyModel yet.

Clock-PRO: hot/cold/non-resident lists with clock-style second chances. Hot/cold/non-resident structure makes exact victim prediction impractical.

Harness contract (InvariantOnly)

Check When
len <= capacity After every Op
debug_validate_invariants() After every Op

Per-Op adapter behavior

Op Effect
Insert(k) insert(k, v)
Get(k) get(k)
Peek(k) peek(k)
Remove(k) remove(k)
GetMut / Touch / EvictOne No-op in adapter

Observables

References