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
1k stars
15 watching
53 forks
Language: TypeScript
last commit: 3 months ago
Linked from 2 awesome lists
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/p-memoize | Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input. | 396 |
melpon/memoize | A caching macro for Elixir that uses CAS on ETS to optimize function calls | 189 |
nodeca/promise-memoize | A utility for caching and optimizing promise-returning functions with optional expire times and prefetching capabilities. | 60 |
tdr-autosync/mi-lib-django_memoize | Caches and optimizes expensive function calls in Django applications. | 120 |
jaemk/cached | Provides Rust implementations of caching structures and simplified function memoization. | 1,565 |
sindresorhus/find-cache-dir | Finds and returns the standard cache directory for a given project name | 151 |
fregante/webext-storage-cache | Caches values and automatically reuses cached results of function calls in web extensions | 81 |
thinkjs/think-cache-memcache | Provides an adapter for caching data using Memcache. | 0 |
dfed/cacheadvance | A high-performance cache for logging systems | 38 |
sobstel/metaphore | A caching solution that prevents the dogpile effect by using a semaphore to control access to cached data. | 101 |
fogfish/cache | A library implementing an in-memory cache with segmented storage and time-to-live policies | 137 |
accelerationnet/function-cache | A library providing an extensible function caching mechanism with customizable cache structures and features. | 47 |
sindresorhus/delay | Allows delaying promises by a specified amount of time or a random range. | 609 |
thinkjs/think-cache | A caching solution designed to improve the performance of ThinkJS 3.x applications by reducing the number of requests made to external resources. | 2 |
sindresorhus/onetime | Ensures a function is only called once by wrapping it in a wrapper function that throws an error if called again | 162 |