Skip to main content

Module decompress_bool

Module decompress_bool 

Source
Expand description

Optimized run-end decoding for boolean arrays.

Uses an adaptive strategy that pre-fills the buffer with the majority value (0s or 1s) and only fills the minority runs, minimizing work for skewed distributions.

Functionsยง

runend_decode_bools
Decodes run-end encoded boolean values into a flat BoolArray.
runend_decode_typed_bool
Decodes run-end encoded boolean values using an adaptive strategy.