memoize

Cache

Caches function results to speed up repeated calls with identical inputs

Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical input

GitHub

1k stars
15 watching
54 forks
Language: TypeScript
last commit: about 2 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/p-memoizeMemoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input.397
melpon/memoizeA caching macro for Elixir that uses CAS on ETS to optimize function calls192
nodeca/promise-memoizeA utility for caching and optimizing promise-returning functions with optional expire times and prefetching capabilities.61
tdr-autosync/mi-lib-django_memoizeCaches and optimizes expensive function calls in Django applications.120
jaemk/cachedProvides Rust implementations of caching structures and simplified function memoization.1,605
sindresorhus/find-cache-dirFinds and returns the standard cache directory for a given project name153
fregante/webext-storage-cacheCaches values and automatically reuses cached results of function calls in web extensions81
thinkjs/think-cache-memcacheProvides an adapter for caching data using Memcache.0
dfed/cacheadvanceA high-performance cache for logging systems38
sobstel/metaphoreA caching solution that prevents the dogpile effect by using a semaphore to control access to cached data.101
fogfish/cacheA library implementing an in-memory cache with segmented storage and time-to-live policies137
accelerationnet/function-cacheA library providing an extensible function caching mechanism with customizable cache structures and features.47
sindresorhus/delayAllows delaying promises by a specified amount of time or a random range.609
thinkjs/think-cacheA caching solution designed to improve the performance of ThinkJS 3.x applications by reducing the number of requests made to external resources.2
sindresorhus/onetimeEnsures a function is only called once by wrapping it in a wrapper function that throws an error if called again162