Function memchr::memmem::searcher::searcher_kind_sse2
source · unsafe fn searcher_kind_sse2(
searcher: &Searcher,
_prestate: &mut PrefilterState,
haystack: &[u8],
needle: &[u8],
) -> Option<usize>
Expand description
Reads from the sse2
field of SearcherKind
to execute the x86_64 SSE2
vectorized substring search implementation.
§Safety
Callers must ensure that the searcher.kind.sse2
union field is set.