Open stepancheg opened 1 year ago
Bumpalo provides chunk_capacity function which is helpful to understand that's alloc overhead in current chunk.
chunk_capacity
However, previous chunks may also have unused capacity.
So a function like alloc_overhead may be helpful to understand what is the overhead when allocating with bumpalo.
alloc_overhead
Bumpalo provides
chunk_capacity
function which is helpful to understand that's alloc overhead in current chunk.However, previous chunks may also have unused capacity.
So a function like
alloc_overhead
may be helpful to understand what is the overhead when allocating with bumpalo.