Package: memo 1.1.1
memo: In-Memory Caching of Repeated Computations (Memoization)
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.
Authors:
memo_1.1.1.tar.gz
memo_1.1.1.zip(r-4.5)memo_1.1.1.zip(r-4.4)memo_1.1.1.zip(r-4.3)
memo_1.1.1.tgz(r-4.4-x86_64)memo_1.1.1.tgz(r-4.4-arm64)memo_1.1.1.tgz(r-4.3-x86_64)memo_1.1.1.tgz(r-4.3-arm64)
memo_1.1.1.tar.gz(r-4.5-noble)memo_1.1.1.tar.gz(r-4.4-noble)
memo_1.1.1.tgz(r-4.4-emscripten)memo_1.1.1.tgz(r-4.3-emscripten)
memo.pdf |memo.html✨
memo/json (API)
NEWS
# Install 'memo' in R: |
install.packages('memo', repos = c('https://crowding.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/crowding/memo/issues
Last updated 12 months agofrom:6d4498a8e9. Checks:OK: 8 NOTE: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win-x86_64 | NOTE | Nov 23 2024 |
R-4.5-linux-x86_64 | OK | Nov 23 2024 |
R-4.4-win-x86_64 | OK | Nov 23 2024 |
R-4.4-mac-x86_64 | OK | Nov 23 2024 |
R-4.4-mac-aarch64 | OK | Nov 23 2024 |
R-4.3-win-x86_64 | OK | Nov 23 2024 |
R-4.3-mac-x86_64 | OK | Nov 23 2024 |
R-4.3-mac-aarch64 | OK | Nov 23 2024 |
Exports:cache_statsdigest_keydropKeyfrom_pairshashmaphasKeykeyslru_cachememopermanent_cachepointer_keyto_pairsvalues
Dependencies:digest
Readme and manuals
Help Manual
Help page | Topics |
---|---|
In-memory caching of repeated computations, by pointer equivalence. | memo-package _PACKAGE |
Report cache statistics. | cache_stats |
A reference-valued, key-value store. | dropKey from_pairs hashmap hasKey keys to_pairs values [.hashmap [<-.hashmap [[.hashmap [[<-.hashmap |
Memoize a function. | memo |
`basic_cache` makes a cache that does not expire old entries. It should be used in situations where you know the number of things to remember is bounded. | lru_cache permanent_cache |
Strategies for caching items. | digest_key hybrid_key pointer_key strategies |