|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Bounded cache that drops the least recently used entries. Private to the library. More...
#include <algorithm>#include <cstddef>#include <cstdint>#include <unordered_map>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | asw::detail::LruCache< Key, Value, Hash, Equal > |
| A hash map with a size limit. When full, the least recently used half is dropped, so entries in use every frame stay cached. More... | |
| struct | asw::detail::LruCache< Key, Value, Hash, Equal >::Entry |
Namespaces | |
| namespace | asw |
| namespace | asw::detail |
Functions | |
| void | asw::detail::hash_combine (std::size_t &seed, std::size_t hash) |
| Combine a hash into a seed, as boost::hash_combine does. | |
Bounded cache that drops the least recently used entries. Private to the library.
Definition in file lru_cache.h.