Skip to main content

map_workspace_bytes

Function map_workspace_bytes 

Source
fn map_workspace_bytes(ops: &[MapOp], series: &Series) -> Result<usize>
Expand description

An upper bound of what the operations of a map allocate for the series they write over series.

Each operation reads the series the one before it wrote, which stays alive until the next one is written, so the bound is the largest of the first one’s workspace and of two consecutive ones’. Every such operation writes floats only, at no more rows than it read.