Function memchr::memmem::searcher::prefilter_kind_sse2
source · unsafe fn prefilter_kind_sse2(
strat: &Prefilter,
haystack: &[u8],
) -> Option<usize>
Expand description
Reads from the sse2
field of PrefilterKind
to execute the x86_64 SSE2
prefilter.
§Safety
Callers must ensure that the strat.kind.sse2
union field is set.