Module cache

Module cache 

Source
Expand description

Multi-tier cache for pack decoding that combines an in-memory LRU with spill-to-disk storage and bookkeeping for concurrent rebuild tasks.

Structs§

Caches
Multi-tier cache implementation combining an in-memory LRU cache with spill-to-disk storage. It uses a DashMap for offset-to-hash mapping and a DashSet to track cached hashes. The cache supports concurrent rebuild tasks using a thread pool.

Traits§

_Cache
Trait defining the interface for a multi-tier cache system. This cache supports insertion and retrieval of objects by both offset and hash, as well as memory usage tracking and clearing functionality.