cmp_bool

Function cmp_bool 

Source
pub fn cmp_bool<const LANES: usize>(
    lhs: BooleanAVT<'_, ()>,
    rhs: BooleanAVT<'_, ()>,
    op: ComparisonOperator,
) -> Result<BooleanArray<()>, KernelError>
Expand description

Performs vectorised boolean array comparisons with null mask handling.

High-performance SIMD-accelerated comparison function for boolean arrays with automatic null mask merging and operator-specific optimisations. Supports all comparison operators through efficient bitmask operations with configurable lane counts for architecture-specific tuning.

§Type Parameters

  • LANES: Number of SIMD lanes to process simultaneously

§Parameters

  • lhs: Left-hand side boolean array view as (array, offset, length) tuple
  • rhs: Right-hand side boolean array view as (array, offset, length) tuple
  • op: Comparison operator (Equals, NotEquals, In, NotIn, IsNull, IsNotNull, etc.)

§Returns

Result<BooleanArray<()>, KernelError> containing comparison results with merged null semantics.