hybrid_lru_cache 0.0.1
hybrid_lru_cache: ^0.0.1 copied to clipboard
A hybrid LRU cache system within File
0.0.1 #
- Initial release of the
hybrid_lru_cachepackage. - Implemented
HybridLruCache, a generic, persistent, least-recently-used (LRU) cache. - Features include:
- In-memory caching for fast access.
- Persistent storage to a file to retain data across app sessions.
- Configurable maximum number of entries (
maxEntries). - Configurable Time-To-Live (
ttl) for automatic entry expiration. - Support for any data type via custom
encoderanddecoderfunctions. - Core methods:
get,set, andclear.