Skip to main content

LARGE_OBJECT_LIMIT

Constant LARGE_OBJECT_LIMIT 

Source
pub const LARGE_OBJECT_LIMIT: usize = _ /* 524_288usize */;
Expand description

Largest allocation served from a shared thread-local page. It is eight slices: 512 KiB by default, or the size named by an enabled large-objects-* feature. Larger objects get a page of their own, which costs an arena operation per allocation and free.