create_cache: Create an empty cache

Description Usage Arguments Value Examples

View source: R/cache.R

Description

Create an empty cache

Usage

1
create_cache(function_cache_size = 1, hash_algo = "crc32")

Arguments

function_cache_size

number of results to store for each cached function. When this limit is reached, new entries in the cache will overwrite the oldest entry for the relevant function.

hash_algo

the hash algorithm to use.

Value

a Cache object

Examples

1
cache <- create_cache()

mattdneal/cacheMan documentation built on May 21, 2019, 12:58 p.m.