Skip to main content

info_with_reservation

Function info_with_reservation 

Source
pub(crate) fn info_with_reservation(
    schema: &Arc<SeriesSchema>,
    base: &[Series],
    info: &[Series],
    selector: &InfoSelector,
    reserve: &mut dyn FnMut(usize) -> Result<()>,
) -> Result<Vec<Series>>
Expand description

info(), handing the live workspace it holds to reserve before it allocates it.

What the index of the info series and the rows of the results keep is held until the operation returns; the merge of one label set’s rows is a phase, and the builder’s columns join the phase of the output they are finished as. A total reserve refuses ends the operation with that error.