Function memchr::memmem::searcher::prefilter_kind_avx2

source ·
unsafe fn prefilter_kind_avx2(
    strat: &Prefilter,
    haystack: &[u8],
) -> Option<usize>
Expand description

Reads from the avx2 field of PrefilterKind to execute the x86_64 AVX2 prefilter.

§Safety

Callers must ensure that the strat.kind.avx2 union field is set.