waitcache crate provides the
WaitCache type, an ever-growing
concurrent hash map with key-level locking granularity. A hash map of this
kind is useful for memoizing highly expensive functions, such as those
requiring disk or network accesses. Unlike other cache implementations,
WaitCache only ever resolves a value once, preventing expensive
computations from duplicating work.
waitcache is licensed under the terms of the
Mozilla Public License, v. 2.0. All Source Code Forms are
"Incompatible With Secondary Licenses", as described in §3.3 of the
Iterator types for
A concurrent, ever-growing hash map with key-level lock granularity.