Function holochain_wasmer_host::plru::create

source ·
pub fn create(lines: usize) -> DynamicCache
Expand description

Create a heap allocated cache of a fixed (but dynamic) number of cache lines.

Ideally, 64 should divide len to optimize space efficiency.