Function run_equal

Source
pub(super) fn run_equal(
    lhs: &ArrayData,
    rhs: &ArrayData,
    lhs_start: usize,
    rhs_start: usize,
    len: usize,
) -> bool
Expand description

The current implementation of comparison of run array support physical comparison. Comparing run encoded array based on logical indices (lhs_start, rhs_start) will be time consuming as converting from logical index to physical index cannot be done in constant time. The current comparison compares the underlying physical arrays.