lru_map

v0.3.3
Finite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones.
cache lru buffer map

test

node test.js && echo 'Verifying TypeScript definition...' && tsc --noEmit

prepublish

npm test

benchmark

node --expose-gc benchmark.js

Metadata

  • MIT
  • Whatever
  • Rasmus Andersson
  • released 3/11/2017

Downloads

Maintainers