Function plru::create [] [src]

pub fn create(lines: usize) -> DynamicCache

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

Ideally, 64 should divide len to optimize space efficiency.