This crate provides one function: fastchr
, which very quickly finds the first occurrence of a given byte in a slice.
fastchr
is implemented using SIMD intrinsics and runtime CPU feature detection so it will always use the fastest method available
on a platform. If SIMD features are not available, fastchr
falls back to using memchr
.