erikras

erikras/lru-memoize

A utility to provide LRU memoization for any js function

JavaScript
318
20
MIT License

`lru-memoize` is a utility for providing LRU (Least Recently Used) memoization for any pure JavaScript function, prioritizing recently accessed values and discarding the least recently used items when a size limit is reached. It is designed for developers working with JavaScript who want to optimize performance by caching function results while managing memory efficiently. The library is easy to use, supports ES5 and ES6, and offers customizable options like cache size, equality comparison, and deep object comparison.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

erikras's profile
erikras
28 contributions
greenkeeperio-bot's profile
greenkeeperio-bot
2 contributions
dlindenkreuz's profile
dlindenkreuz
1 contributions
franjohn21's profile
franjohn21
1 contributions
bryant1410's profile
bryant1410
1 contributions
dpwrussell's profile
dpwrussell
1 contributions
heydiplo's profile
heydiplo
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet