Skip to main content

state_bytes

Function state_bytes 

Source
pub(crate) fn state_bytes(chunk: &StateChunk) -> usize
Expand description

Bytes a state chunk holds: labels, axis runs, and one sparse state vector per field.

Like crate::grid_series::series_bytes this is a work estimate rather than a heap measurement – it counts vector capacities, not allocator overhead – which is what the reservation it feeds needs: a figure that never under-counts what the executor holds.