gitmyhub

lrucache11

C++ ★ 0 updated 10y ago ⑂ fork

A header only C++11 LRU Cache template class that allows you to define key, value and optionally the Map type. uses a double linked list and a std::unordered_map style container to provide fast insert, delete and update No dependencies other than the C++ standard library. This is a C++11 remake of my earlier LRUCache project (https://github.com/mohaps/lrucache) The goal was to create a fast LRUCache header only library and to avoid any dependencies like boost.

No plain-English explanation yet — one is being written right now. Check back in a minute.