• P
    Fork and simplify LRUCache for developing enhancements (#9917) · bb87164d
    Peter Dillinger 提交于
    Summary:
    To support a project to prototype and evaluate algorithmic
    enhancments and alternatives to LRUCache, here I have separated out
    LRUCache into internal-only "FastLRUCache" and cut it down to
    essentials, so that details like secondary cache handling and
    priorities do not interfere with prototyping. These can be
    re-integrated later as needed, along with refactoring to minimize code
    duplication (which would slow down prototyping for now).
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/9917
    
    Test Plan:
    unit tests updated to ensure basic functionality has (likely)
    been preserved
    
    Reviewed By: anand1976
    
    Differential Revision: D35995554
    
    Pulled By: pdillinger
    
    fbshipit-source-id: d67b20b7ada3b5d3bfe56d897a73885894a1d9db
    bb87164d
lru_cache.h 17.5 KB