bio.core.utils.memoize

Undocumented in source.

Members

Classes

BasicCache
class BasicCache(uint maxItems, K, V)

Elements are not removed from the cache.

FifoCache
class FifoCache(uint maxItems, K, V)

First-in first-out element removal.

LuCache
class LuCache(uint maxItems, K, V)

Least used strategy

Functions

memoize
auto memoize(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
printStats
void printStats()
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Cache
interface Cache(K, V)

Static variables

evaluations
auto evaluations;

keeps number of function evaluations

hits
int hits;
Undocumented in source.
misses
int misses;
Undocumented in source.

Meta