Skip to main content

Module buffer

Module buffer 

Source
Expand description

Arrow-style nullable buffer: contiguous values + validity bitmap.

Replaces Vec<Option<T>> with a separate bitmap for NA tracking. Memory: 8 bytes per f64 + 1 bit per element (vs 16 bytes per Option<f64>).

Structsยง

BitVec
Compact bit vector stored as packed u64 words.
NullableBuffer
A contiguous buffer of values with a separate validity bitmap for NA tracking.
NullableIntoIter
Owned iterator over NullableBuffer yielding Option<T>.
NullableIter
Iterator over NullableBuffer yielding Option<&T>.