Memorize and re-run a function when its arguments are changed
The engine that powers scroll-into-view-if-needed
A cache object that deletes the least-recently-used items.
Google Compute Engine Client Library for Node.js
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Computes the greatest common divisor (gcd).
Require hook for automatic V8 compile cache persistence
Computes the least common multiple (lcm).
A simple key/value storage using files to persist the data
JavaScript SDK and CLI for building JavaScript applications on [Fastly Compute](https://www.fastly.com/products/edge-compute/serverless).
Computes the dot product between two numeric arrays.
A generated SDK for ComputeManagementClient.
Computes the L2 norm (Euclidean norm) of an array of values.
Require hook for automatic V8 compile cache persistence
Computes the cosine similarity between two arrays.
Pure Javascript implementation of the BLAKE2b and BLAKE2s hash functions
The luma.gl core Device API
Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies
TypeScript definitions for http-cache-semantics
LRU and FIFO caches for Client or Server
Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
Symbolic computing and numeric evaluations for JavaScript and Node.js
* implements render engine's interface with WebGPU/WebGL
A generational pseudo-LRU cache with strict maximum size limits.
Define computation tasks with automatic caching and dependency tracking.
Cache key computation for Vident components with ViewComponent
Ultracache reduces computational costs occur from dynamic attributes by caching them into Redis
A Hash with Business Logic (call it intelligent).
Coalesce concurrent cache-miss computations with Redis-backed locks and shared results.
Vacuuming out the remnants of offensive tools. AspiSec is responsible for removing the traces and confidential information left by offensive security tools on an auditor's computer in various cache and log files.
SafeMemoize is a production-ready, zero-dependency memoization library for Ruby. It uses Ruby's prepend mechanism to wrap methods with a thread-safe cache (Mutex + double-check locking) that correctly handles nil and false return values — fixing the silent bug in the common ||= pattern. Results are cached per unique argument combination, so parameterized methods only compute each variant once. Additional features include TTL expiration, LRU cache size limiting, conditional caching via if:/unless: predicates, lifecycle hooks for hit/eviction/expiration events, per-instance metrics (hit rate, miss rate, computation time), targeted cache invalidation, custom cache key generators, and introspection helpers. Method visibility (public, protected, private) is fully preserved.
Arboreal is yet another extension to ActiveRecord to support tree-shaped data structures. Internally, Arboreal maintains a computed "ancestry_string" column, which caches the path from the root of a tree to each node, allowing efficient retrieval of both ancestors and descendants. Arboreal surfaces relationships within the tree like "children", "ancestors", "descendants", and "siblings" as scopes, so that additional filtering/pagination can be performed.
LazyData provides data types featuring thread-safe lazy computation. These objects are constructed with a block that can be called to compute the final value, but it is not actually called until the value is requested. Once requested, the computation takes place only once, in the first thread that requested the value. Future requests will return a cached value. Furthermore, any other threads that request the value during the initial computation will block until the first thread has completed the computation. This implementation also provides retry and expiration features. The code was extracted from the google-cloud-env gem that originally used it.
No description provided.
No description provided.
No description provided.
No description provided.