memo (Q76686)
From MaRDI portal
In-Memory Caching of Repeated Computations (Memoization)
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | memo |
In-Memory Caching of Repeated Computations (Memoization) |
Statements
12 December 2023
0 references
A simple in-memory, LRU cache that can be wrapped around any function to memoize it. The cache is keyed on a hash of the input data (using 'digest') or on pointer equivalence.
0 references