cache_stats: Report cache statistics.

Description Usage Arguments Value

Description

Report cache statistics.

Usage

1

Arguments

fn

A memoized function that was created by memo.

Value

A list with labels "size", "used", "hits", "misses", "expired" counting the number of slots in the cache, the number of slots currently used, the number of times a previous result was recalled, a new result was recorded, and a result was dropped.


memo documentation built on May 2, 2019, 7:01 a.m.