mohaps/lrucache11
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.
C++
Issues
- 0
how to update a VALUE?
#24 opened by jinfeihan57 - 3
- 1
Thread-safety issues
#19 opened by cculianu - 0
may not to use std::move to not ref variable
#21 opened by superzmy - 0
prune method loss a lock
#20 opened by Prajna1991 - 2
double free or corruption (fasttop)
#18 opened by ChinaChenp - 2
Move value on insert
#16 opened by dermojo - 2
- 1
Remove NoCopy
#11 opened by fiesh - 4
Add support for custom hash() callback, allowing "non-hashable" keys, eg. vector
#8 opened by breznak - 0
Rename SampleMain.cpp to LRUCache11.cpp
#5 opened by breznak - 4
[BUG] fails to compile
#6 opened by breznak