Searched refs:sliceslice (Results 1 - 3 of 3) sorted by relevance
/third_party/rust/crates/memchr/bench/src/memmem/ |
H A D | mod.rs | 39 sliceslice 40 The implementation of substring search provided by the sliceslice crate. 79 sliceslice-words 82 haystacks. This was taken from the sliceslice crate benchmarks. 83 sliceslice-i386 85 This was also taken from the sliceslice crate benchmarks. 101 mod sliceslice; modules 108 sliceslice::all(c); in all() 164 def_impl!($inp, $q, $freq, sliceslice); in oneshot() 232 def_impl!($inp, $q, $freq, sliceslice); in prebuilt() [all...] |
H A D | sliceslice.rs | 2 These benchmarks were lifted almost verbtaim out of the sliceslice crate. The 9 N.B. In the sliceslice crate, the benchmarks are called "short" and "long." 10 Here, we call them sliceslice-words/words and sliceslice-i386/words, 14 * In the sliceslice-words/words case, the benchmark is primarily about 16 * In the sliceslice-words/i386 case, the benchmark is primarily about searching 45 "memmem/krate/prebuilt/sliceslice-words/words", in search_short_haystack() 67 "memmem/krate_nopre/prebuilt/sliceslice-words/words", in search_short_haystack() 93 "memmem/stud/prebuilt/sliceslice-words/words", in search_short_haystack() 108 use sliceslice in search_short_haystack() [all...] |
H A D | imp.rs | 513 /// Substring search from the sliceslice crate. 519 /// sliceslice doesn't actually do anything "new" other 531 /// The essence of memchr's implementation of memmem comes from sliceslice, 538 /// NOTE: The API of sliceslice is quite constrained. My guess is that it was 547 /// NOTE: sliceslice only works on x86_64 CPUs with AVX enabled. So not only 551 pub(crate) mod sliceslice { 553 // Apparently sliceslice doesn't support searching with an empty 565 unreachable!("sliceslice cannot be called without avx2"); 571 let finder = sliceslice::x86::DynamicAvx2Searcher::new(needle); 580 unreachable!("sliceslice canno [all...] |
Completed in 2 milliseconds