Skip to main content

SPAN_BYTES

Constant SPAN_BYTES 

Source
pub const SPAN_BYTES: usize = _; // 65_536usize
Expand description

Every span is this many bytes, whatever class it serves. Uniform geometry is what lets dealloc find a span by masking; see the module docs for why the variable-size draft lost. 64 KiB gives the largest class eight slots and the smallest four thousand.