ripgrep 0.9.0 is out! https://github.com/BurntSushi/ripgrep/releases/tag/0.9.0 … (multi-line support is anticipated for the next release if all goes well!)
-
Show this thread
-
(A nice feature of this release is that if ripgrep is compiled with Rust 1.27 or newer, then everyone that uses the result with modern CPUs will get SIMD optimizations without impacting binary portability.)
1 reply 0 retweets 30 likesShow this thread -
Replying to @burntsushi5
How does that work? Is that default behaviour when employing the std::simd stuff, or does that require extra work?
2 replies 0 retweets 0 likes -
Replying to @rubdos
Hard to answer succinctly on twitter, but it's std::arch (std::simd isn't a thing, yet anyway). The docs for that module explain it a bit. The key ingrediant is `#[target_feature]`: https://doc.rust-lang.org/std/arch/index.html …
3 replies 0 retweets 0 likes
It's used here in the regex crate: https://github.com/rust-lang/regex/blob/master/src/literal/teddy_ssse3/imp.rs#L435 … This part is also critical: https://github.com/rust-lang/regex/blob/991ae1a4c69cd81ecf989119b9205a3204088e83/src/vector/ssse3.rs#L22-L28 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.