lib.rs
Rust test marker or harness
SHA-2561eeeabfb45fb631c806ad517b959571bcce0b36ca1579cbc9bba6b4af7ba8873
MaleculeMd(Pa)
Evidence
1/*!
2The `memchr` crate provides heavily optimized routines for searching bytes.
3
4The `memchr` function is traditionally provided by libc, however, the
5perform …
5:49… epending on the specific
6implementation of libc that is used. They can range from manually tuned
7Assembly implementations (like that found in GNU's …
10:53… s of libc, at least
11on `x86_64` for Rust 1.27+, this crate provides its own implementation of
12`memchr` that should perform competitively with the one found in GNU's libc.
13The implementation is in pure Rust and has no dependency on a C compiler or an
14Assembler.
15
16Additionally, GNU libc also provides an ext …
33:19… se_std")]
34extern crate core;
35
36#[macro_use]
37extern crate cfg_if;
38#[cfg(test)]
39#[macro_use]
40extern crate quickcheck;
41
42use core::iter::Rev;
43
44pub use iter::{Memchr, Memchr2, Memchr3};
45
46#[cfg(all(
⋯4 lines