Skip to main content

Module cache

Module cache 

Source

Structs§

CacheEntry
CacheStats
SessionCache
SharedBlock
A block shared across multiple files, identified by its canonical source.
StoreResult

Functions§

eviction_scores_rrf
Compute Reciprocal Rank Fusion eviction scores for a batch of cache entries. Each signal (recency, frequency, size) produces an independent ranking. The final score is the sum of 1/(k + rank) across all signals. Higher score = more valuable = keep longer.