Skip to main content

unbilled_array_buffers

Function unbilled_array_buffers 

Source
fn unbilled_array_buffers<T: ArrowPrimitiveType>(
    values: &PrimitiveArray<T>,
    fresh: &mut Vec<usize>,
    billed: &HashSet<usize>,
    bytes: &mut usize,
)
Expand description

Adds the allocation a sample array’s values live in, and the one its validity bitmap lives in, to fresh and bytes, skipping the ones billed holds and the ones already reported.