memo-package: In-memory caching of repeated computations, by pointer...

memo-packageR Documentation

In-memory caching of repeated computations, by pointer equivalence.

Description

The 'memo' package implements a cache that can be used to avoid repeated computations of functions. The cache lookup is based on object identity (i.e. pointer equivalence) which is suited for functions like accessors or other functions that are called repeatedly on the same object.

Author(s)

Peter Meilstrup


memo documentation built on May 29, 2024, 4:18 a.m.