pub(super) struct SlimSSSE3<const BYTES: usize> {
slim128: Slim<__m128i, BYTES>,
}
Fields§
§slim128: Slim<__m128i, BYTES>
Implementations§
Source§impl SlimSSSE3<1>
impl SlimSSSE3<1>
Sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
Sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
Source§impl SlimSSSE3<2>
impl SlimSSSE3<2>
Sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
Sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
Source§impl SlimSSSE3<3>
impl SlimSSSE3<3>
Sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
Sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.
Source§impl SlimSSSE3<4>
impl SlimSSSE3<4>
Sourcepub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
pub(super) fn new(patterns: &Arc<Patterns>) -> Option<Searcher>
Creates a new searcher using “slim” Teddy with 128-bit
vectors. If SSSE3 is not available in the current
environment, then this returns None
.
Sourceunsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
Available with target feature ssse3
only.
unsafe fn new_unchecked(patterns: &Arc<Patterns>) -> Searcher
ssse3
only.Creates a new searcher using “slim” Teddy with 256-bit vectors without checking whether SSSE3 is available or not.
§Safety
Callers must ensure that SSSE3 is available in the current environment.