Expand description
Port of src/parser/utils/cache.ts.
memoize() caches the results of a function by its arguments, null results included. In Rust the memoized
functions own a Memo (usually in a thread_local!) keyed by their arguments.
Structsยง
- Memo
- memoized results of a function, by arguments