pub fn memchr_range(lo: u8, hi: u8, haystack: &[u8]) -> Option<usize>Expand description
Finds the first byte in a contiguous range [lo, hi].
Uses AVX2 SIMD range comparison when available. This is much faster than calling memchr 10 times for digits (0-9).