Expand description
Inference Cache with Invalidation
Memoization cache for inference results, keyed by
(goal_term_hash, kb_version) → bindings.
Supports LRU eviction and monotonic-version-based invalidation.
Structs§
- Cache
Stats - Summary statistics for the cache.
- Cached
Result - One cached inference result.
- Inference
Cache - Memoization cache for inference results.
Keyed by
(goal_term_hash, kb_version) → bindings. - Inference
Cache Key - Cache key: combination of goal hash and KB version.
Functions§
- hash_
goal - Compute the FNV-1a hash for a serialised goal term.