Skip to main content

Module neg_cache

Module neg_cache 

Source
Expand description

Negative result cache — skips re-verification of known non-matching files. Negative result cache.

Stores “file X with content_hash H does NOT match query Q” results. Prevents re-verification of unchanged files that previously had no matches.

Structs§

NegCache
Thread-safe negative result cache.
NegCacheStats
Hit/miss/eviction counters for a NegCache.

Functions§

query_fingerprint
Compute a stable fingerprint for a query pattern using XXH64.