Skip to main content

charge_samples

Function charge_samples 

Source
fn charge_samples(
    buffer: &mut NodeBuffer,
    output: &[Series],
    output_vec_bytes: usize,
    queue_bytes: usize,
) -> Result<()>
Expand description

Charges the series a finished aggregate hands over, plus the queue they enter.

The queue’s own backing is counted by the caller that appends to it, so what is added here is the series themselves and the vector that carries them; the two are charged together because the vector outlives the call that built it.