pub(super) fn exported_payload_bytes(
accumulator: &HistogramAccumulator,
) -> usizeExpand description
Bytes one exported point’s payload builds: the boxed state and the two one-row batches
HistogramAccumulator::payload makes from the accumulator’s live histogram and its
compensation.
It is counted from the histograms the payload is built from rather than from the batches, which
is the point: this is what the export admits before those batches exist. The bucket data a batch
writes is charged at the width of the padded Rust pair, which bounds the f64 each bucket costs,
and the layout is charged per batch.