memo: In-Memory Caching for Repeated Computations

A simple in-memory, LRU cache that can be wrapped around any function to memoize it. The cache can be keyed on a hash of the input data (using 'digest') or on pointer equivalence.

Author
Peter Meilstrup <peter.meilstrup@gmail.com>
Date of publication
2016-08-25 10:00:55
Maintainer
Peter Meilstrup <peter.meilstrup@gmail.com>
License
MIT + file LICENSE
Version
1.0

View on CRAN

Man pages

cache_stats
Report cache statistics.
lru_cache
Construct a cache with least-recently-used policy.
memo
Memoize a function.
strategies
Strategies for caching items.

Files in this package

memo
memo/inst
memo/inst/doc
memo/inst/doc/README.Rmd
memo/inst/doc/README.R
memo/inst/doc/README.html
memo/tests
memo/tests/testthat.R
memo/tests/testthat
memo/tests/testthat/test-lru.R
memo/tests/testthat/test-cache.R
memo/src
memo/src/getPointer.c
memo/src/vadr.c
memo/src/vadr.h
memo/NAMESPACE
memo/R
memo/R/memo-description.r
memo/R/getPointer.R
memo/R/lru.R
memo/R/cache.R
memo/vignettes
memo/vignettes/README.Rmd
memo/README.md
memo/MD5
memo/build
memo/build/vignette.rds
memo/DESCRIPTION
memo/man
memo/man/strategies.Rd
memo/man/cache_stats.Rd
memo/man/memo.Rd
memo/man/lru_cache.Rd
memo/LICENSE