crowding/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.

Getting started

Package details

AuthorPeter Meilstrup <peter.meilstrup@gmail.com>
MaintainerPeter Meilstrup <peter.meilstrup@gmail.com>
LicenseMIT + file LICENSE
Version1.1.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("crowding/memo")
crowding/memo documentation built on Jan. 4, 2024, 6:38 a.m.