[][src]Module fn_memo::sync

Structs

Memo

The synchronized implementation of FnMemo.

Traits

Cache

The cache for synchronized memoization.

Functions

memoize

Creates a synchronized memoization of f using CHashMap as cache.

memoize_rw_lock

Creates a synchronized memoization of f using HashMap with RwLock as cache.

memoize_rw_lock_seq

Creates a synchronized memoization of the sequence f using Vec with RwLock as cache.