/w-tinylfu

W-TinyLFU cache C++11 header only implementation

Primary LanguageC++

Window-TinyLFU Cache

This is a barebones C++11 header-only implementation of the state-of-the-art cache admission policy proposed in this paper with details borrowed from Caffeine's own implementation.

Note

My original use case for this cache was very specific, so some features are absent - most notably thread-safety and hash collision protection.