Skip to main content

@terascope/utils / big-lru-map / BigLRUMap

Class: BigLRUMap<V>

Extends

  • default<string | number, V>

Type parameters

Type parameter
V

Constructors

new BigLRUMap()

new BigLRUMap<V>(mapSize, keyArray, valueArray): BigLRUMap<V>

Parameters

ParameterTypeDefault value
mapSizenumberundefined
keyArrayTypedArray | FlexibleArrayFlexibleArray
valueArrayTypedArray | FlexibleArrayFlexibleArray

Returns

BigLRUMap<V>

Overrides

dataStructurePkg.LRUMap<string | number, V>.constructor

Source

packages/utils/src/big-lru-map.ts:17