Skip to main content

ALLOC_COUNT

Static ALLOC_COUNT 

Source
pub static ALLOC_COUNT: AtomicUsize
Expand description

Counters for the optional allocation tracker. Only active when the count_alloc feature is enabled. The global allocator below bumps these on every heap allocation, so a hot-path iteration that stays at zero proves the zero-allocation guarantee.