pub(crate) fn chunk_bytes_beside_samples(series: &Series) -> usizeExpand description
The bytes one chunk holds beside its samples: its axis, the runs that axis is made of, one descriptor per segment and its labels.
It is what is left of series_bytes once the allocations its samples are slices of are taken
out and the Series struct itself is left to whatever holds the chunk: the struct is one slot of
the container a retainer keeps its chunks in, so a retainer that counts that container – a
quantile counts its vector by capacity – has already counted it, and one that does not count
it anywhere would have to add it back.
This is the figure of a retainer that bills the allocations its samples live in itself
(unbilled_sample_buffers): what the chunk holds on its own, plus that residency, once each.