w-tinylfu icon indicating copy to clipboard operation
w-tinylfu copied to clipboard

W-TinyLFU cache C++11 header only implementation

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.