fn starts_with(
haystack: &[u8],
needle: &[u8],
byte_eq_kernel: impl Fn((&u8, &u8)) -> bool,
) -> bool
Expand description
This is faster than [u8]::starts_with
for small slices.
See https://github.com/apache/arrow-rs/issues/6107 for more details.