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