fn vector_workspace_bytes(
op: &BoundVectorOp,
schema: &SeriesSchema,
series: &[Series],
) -> usizeExpand description
A rough estimate of what the vector operation op allocates over series, beside the input it
reads.
- a ranking: per row the recorded
(point, row)and its candidate, per series its place in the label order, its group and result descriptors, and the histogramslimitkandlimit_ratiocopy into their results; - a sort: the value each series is keyed by, and the floats
sortandsort_descrebuild a series into when it holds histograms; absent: a presence flag and a result value per grid point and field;count_values: per field sample, the group’s label set with the value written into it, its count per field and the result series it becomes;histogram_quantileandhistogram_fraction: the merge of label-set pieces, per series its group entry and a cursor per field, and per row the bucket it contributes.