Skip to content
  • Matt Wala's avatar
    6f39c2d6
    Add an LRU cache to PersistentDict. · 6f39c2d6
    Matt Wala authored
    This adds an optional in-memory LRU cache. To use the cache, you
    supply a *in_mem_cache_size* parameter to the PersistentDict.
    
    In order to properly support cache invalidation this also implements
    version tracking of files. This change is backwards compatible with
    existing persistent dict caches.
    6f39c2d6
    Add an LRU cache to PersistentDict.
    Matt Wala authored
    This adds an optional in-memory LRU cache. To use the cache, you
    supply a *in_mem_cache_size* parameter to the PersistentDict.
    
    In order to properly support cache invalidation this also implements
    version tracking of files. This change is backwards compatible with
    existing persistent dict caches.
Loading