Package: memo 1.1.2
memo: Hashmaps and Memoization (In-Memory Caching of Repeated Computations)
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. Also includes a generic hashmap object that can key on any object type.
Authors:
memo_1.1.2.tar.gz
memo_1.1.2.zip(r-4.7)memo_1.1.2.zip(r-4.6)memo_1.1.2.zip(r-4.5)
memo_1.1.2.tgz(r-4.6-x86_64)memo_1.1.2.tgz(r-4.6-arm64)memo_1.1.2.tgz(r-4.5-x86_64)memo_1.1.2.tgz(r-4.5-arm64)
memo_1.1.2.tar.gz(r-4.7-arm64)memo_1.1.2.tar.gz(r-4.7-x86_64)memo_1.1.2.tar.gz(r-4.6-arm64)memo_1.1.2.tar.gz(r-4.6-x86_64)
memo_1.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
memo/json (API)
| # 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 from:09c6ff9e10. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 114 | ||
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 212 | ||
| linux-release-arm64 | OK | 157 | ||
| linux-release-x86_64 | OK | 109 | ||
| macos-release-arm64 | OK | 168 | ||
| macos-release-x86_64 | OK | 283 | ||
| macos-oldrel-arm64 | OK | 180 | ||
| macos-oldrel-x86_64 | OK | 335 | ||
| windows-devel | OK | 79 | ||
| windows-release | OK | 65 | ||
| windows-oldrel | OK | 60 | ||
| wasm-release | OK | 100 |
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 |
| 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 |
| `permanent_cache` constructs a cache that does not expire old entries. It should be used in situations where you know the number of values to remember is bounded. | lru_cache permanent_cache |
| Strategies for caching items. | digest_key hybrid_key pointer_key strategies |
