Find
C
ase-sensitive
R
egexp search
Path
mozilla-central
/
third_party
/
rust
/
memchr
/
src
/
arch
/
generic
Navigation
Enable keyboard shortcuts
Name
Description
Size
memchr.rs
! Generic crate-internal routines for the `memchr` family of functions.
49004
mod.rs
! This module defines "generic" routines that can be specialized to specific architectures. We don't expose this module primarily because it would require exposing all of the internal infrastructure required to write these generic routines. That infrastructure should be treated as an implementation detail so that it is allowed to evolve. Instead, what we expose are architecture specific instantiations of these generic implementations. The generic code just lets us write the code once (usually).
557
packedpair.rs
! Generic crate-internal routines for the "packed pair" SIMD algorithm. The "packed pair" algorithm is based on the [generic SIMD] algorithm. The main difference is that it (by default) uses a background distribution of byte frequencies to heuristically select the pair of bytes to search for. [generic SIMD]: http://0x80.pl/articles/simd-strfind.html#first-and-last
12661