mellea.backends.cache
Caching strategies.
Classes
Cache
A Cache for storing model state (e.g., kv cache).
Methods:
put
get
None if the id has no cached value. May impact which cache values are evicted.
mellea.backends.cacheCacheputgetNone if the id has no cached value. May impact which cache values are evicted.
current_sizeSimpleLRUCachecurrent_sizegetput