1.5.6 • Published 7 years ago
lru-node-cache v1.5.6
LRU Node Cache
A small library that is independent of other node-module and node version that provide a fastest way to retrieve and set up data on cache. Doubly link list and hashmap has been used here so that all operation can be performed in O(1) (Time complexcity). it remove the least recently used cached key when the cache is full and a new cache key is referenced which is not there in cache.
Why you should select this one
1. Time complexcity to retrieve data is O(1).
2. Time complexcity to set data on cache is O(1).
3. Time complexcity to delete cached data is O(1).
4. it is independent of other node-module and node version
Installation
npm install lru-node-cache
How to use it
Visit This link to know more
[Working Explanation of lru-node-cache](http://blog.3two5.com/temp/lruNodeCache.html)
How to use it
Visit This link to know more