[go: up one dir, main page]

twoway 0.1.3

Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (requires nightly and cargo feature flag pcmp) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust's libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version.
Documentation
Build #33621 2016-10-31 10:09:23
# rustc version
rustc 1.14.0-nightly (6dc035ed9 2016-10-15)# docs.rs version
cratesfyi 0.2.2 (4f7a57c 2016-10-20)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading twoway v0.1.3
Compiling libc v0.2.17
Compiling odds v0.2.23
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/odds-0.2.23/src/lib.rs --crate-name odds --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"std\" -C metadata=721fd4da3f6c0875 -C extra-filename=-721fd4da3f6c0875 --out-dir /home/cratesfyi/twoway-0.1.3/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/twoway-0.1.3/debug/deps --cap-lints allow`
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.17/src/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"use_std\" -C metadata=ad32fde1bd850538 -C extra-filename=-ad32fde1bd850538 --out-dir /home/cratesfyi/twoway-0.1.3/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/twoway-0.1.3/debug/deps --cap-lints allow`
Compiling memchr v0.1.11
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/memchr-0.1.11/src/lib.rs --crate-name memchr --crate-type lib -g -C metadata=c555f740a543880f -C extra-filename=-c555f740a543880f --out-dir /home/cratesfyi/twoway-0.1.3/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/twoway-0.1.3/debug/deps --extern libc=/home/cratesfyi/twoway-0.1.3/debug/deps/liblibc-ad32fde1bd850538.rlib --cap-lints allow`
Documenting twoway v0.1.3
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/twoway-0.1.3/src/lib.rs --crate-name twoway -o /home/cratesfyi/twoway-0.1.3/doc -L dependency=/home/cratesfyi/twoway-0.1.3/debug/deps --extern memchr=/home/cratesfyi/twoway-0.1.3/debug/deps/libmemchr-c555f740a543880f.rlib --extern odds=/home/cratesfyi/twoway-0.1.3/debug/deps/libodds-721fd4da3f6c0875.rlib`
Finished debug [unoptimized + debuginfo] target(s) in 1.69 secs