Skip to main content

MemoCache

Type Alias MemoCache 

Source
pub type MemoCache = Arc<Mutex<HashMap<Vec<u64>, Array>>>;
Expand description

The results u M. has already computed, keyed by the arguments that produced them. Shared by every clone of the derived verb, which is what makes the cache survive from one application to the next.

Aliased Typeยง

pub struct MemoCache { /* private fields */ }