Skip to main content

DEFAULT_MAX_RANGES

Constant DEFAULT_MAX_RANGES 

Source
const DEFAULT_MAX_RANGES: u32 = 4096;
Expand description

How many ranges a pool tracks unless the caller says otherwise.

The allocator’s own default (128 Ki nodes, roughly 3.5 MB of metadata) is sized for a general-purpose allocator; a pool holds one range per mesh part, so it needs far fewer.