Skip to main content

Module bitmask

Module bitmask 

Source
Expand description

§Bitmask Module - Fast Bitpacked Byte Bitmask

Arrow-compatible, packed validity/boolean bitmask with 64-byte alignment.

§Purpose

  • Validity (null) masks for all array types (1 = valid, 0 = null).
  • Backing storage for BooleanArray.

§Behaviour

  • LSB corresponds to the first logical element.
  • Zero-copy windowing via BitmaskV (view, slice).
  • Trailing padding bits are always masked off for Arrow spec compliance.

§Interop

  • Memory layout matches Arrow, and is safe to pass over the Arrow C Data Interface.

Structs§

Bitmask
TODO: Move bitmask kernels here