Struct LruIndexer
least recently used indexer
struct LruIndexer(IT, VT)
;
Constructors
Name | Description |
---|---|
this
(maxCacheLen)
|
Fields
Name | Type | Description |
---|---|---|
cache
|
DList!IndexedType | |
cacheLen
|
size_t | |
idx
|
LruIndexer | |
maxCacheLen
|
size_t |
Methods
Name | Description |
---|---|
index
(vertex, vertexOutRange)
|
index the given vertex. returns the index. if the vertex was not indexed yet, vfun is called with the vertex as argument |
Aliases
Name | Description |
---|---|
IndexedType
|
|
IndexType
|
|
VertexType
|