Skip to main content

recycle_chunk

Function recycle_chunk 

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

Reset chunk to an empty Typed and push it to stash for reuse. Only typed chunks carry an allocation worth keeping, so a serialized chunk is dropped instead.