Search results
355 packages found
Generic memoization with Map and WeakMap
A memoization algorithm in which each function argument represents a new key, creating a trie of caches as defined by the array in your first argument.
Simple decorator for caching the result of a function based on the most recent arguments
Memoize is a simple library that remembers the function execution results and can respond immediately.
Stateless weak memoization replacement for reselect and memoize-one
Delay the evaluation of a variadic async function and cache the result
Unabashedly-barebones memoization library with an aim toward speed
Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
Fast, small, efficient JavaScript memoization lib to memoize JS functions
Memoize a function of n args with O(n) recall and no memory leaks
A memoization library which only remembers the latest invocation
A memoisation toolkit
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
A function is a set of statements that performs a task or calculates a value.
- extra
- function
- after
- arity
- before
- flip
- once
- partial
- partialRight
- InvocationControl
- Resolver
- ARGUMENTS
- COMPARE
- FALSE
- View more
A decorator for caching class getters and updating the cache based on dependent properties
Cache the result of a method or getter for better performance. Supports timeout and clearing the cache.
Takes a function and returns a memoized compute.
Straightforward implementation of memoization.