Skip to main content

boxed_bytes

Function boxed_bytes 

Source
fn boxed_bytes(row: &[Option<GridSample>]) -> usize
Expand description

The bytes the histograms a row holds box, beyond the slots they sit in.

A slot is an Option<GridSample>: a pointer and a tag. A result that is a native histogram points at a FloatHistogram on the heap, which owns its bucket lists in turn, and both stay alive between pushes. Only slots the last evaluated point left in place are counted: a push clears the row.