biod ~master (2019-12-17T12:58:49Z)
Home
Dub
Repo
LuCache
bio
core
utils
memoize
Least used strategy
class
LuCache : Cache!(K, V)(
uint
maxItems
K
V
) {
V
*
lookup
(K key);
void
put
(K key, V value);
}
Members
Functions
lookup
V
*
lookup
(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void
put
(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
bio
core
utils
memoize
classes
BasicCache
FifoCache
LuCache
functions
memoize
printStats
interfaces
Cache
static variables
evaluations
hits
misses
Least used strategy