Skip to main content

recycle_capped

Function recycle_capped 

Source
fn recycle_capped<C: Columnar>(chunk: Column<C>, stash: &mut Vec<Column<C>>)
Expand description

Recycle chunk only if the stash isn’t already at STASH_CAP and the chunk isn’t oversize per MAX_RECYCLE_BYTES. length_in_bytes is measured before clear, so it reflects the data the chunk was carrying (a proxy for the capacity we’d park).