Fast and Versatile JavaScript Memoization
Summary of my bookmarked Github repositories from Jun 10th, 2016
Github repositories
- medikoo/memoizee
Memoizee is a complete memoization/cache solution for JavaScript that works with any type and length of function arguments. It is one of the fastest available solutions and supports promises and asynchronous functions. It offers different modes for cache configuration, including a primitive mode for faster performance with convertible arguments, a WeakMap-based mode for garbage collection, and options for cache clearing, size limiting, and reference counting. It also provides a profile tool for usage statistics and is covered by over 500 unit tests. Memoizee can be installed via npm or yarn.