News for hackers. Stuff that matters.
Re:Why GNU grep is fast (2010) by miguelmota on Friday March 29, 2019 @11:59AM (#19522780)
+1 for ripgrep. It's crazy fast
Re:Why GNU grep is fast (2010) by vmchale on Friday March 29, 2019 @05:18PM (#19525768)
It's more that it uses concurrency intelligently. The underlying stuff is similar to GNU grep.
Re:Why GNU grep is fast (2010) by vesinisa on Friday March 29, 2019 @08:02PM (#19526636)
ripgrep's README has this to say about speed:

> ripgrep is built on top of Rust's regex engine. Rust's regex engine uses finite automata, SIMD and aggressive literal optimizations to make searching very fast. Rust's regex library also maintains performance with full Unicode support by building UTF-8 decoding directly into its deterministic finite automaton engine.

Re:Why GNU grep is fast (2010) by cyphar on Friday March 29, 2019 @09:30PM (#19526994)
The author said in a sister thread[1] that for similar tasks the performance is comparable. ripgrep (and ag) both feel incredibly fast because they skip whole files and directories which are usually unwanted when searching.

[1]: https://news.ycombinator.com/item?id=19523263

Re:Why GNU grep is fast (2010) by kibwen on Saturday March 30, 2019 @08:47AM (#19529138)
Worth mentioning that the main author of ripgrep is also the main author of Rust's regex library, so their development nicely complements each other.