loon
High-performance header-only C++ library for low-latency applications
Loading...
Searching...
No Matches
lru.hpp File Reference

Thread-safe LRU (Least Recently Used) cache implementation. More...

#include <list>
#include <optional>
#include <unordered_map>

Go to the source code of this file.

Classes

class  loon::LRU< K, V >
 A Least Recently Used (LRU) cache with O(1) access and eviction. More...
 

Detailed Description

Thread-safe LRU (Least Recently Used) cache implementation.

Definition in file lru.hpp.