pub const DEFAULT_POOL_CAPACITY_PER_CLASS: usize = 4;Expand description
Default cap on number of pooled slabs per size class. Beyond this, excess returns are dropped instead of pooled. With the default 256 distinct heuristic shapes and a typical 2-3 distinct workspace classes (4 MiB, 32 MiB, 256 MiB) we expect ≤ a few hundred MiB of pinned VRAM in steady state.