News for hackers. Stuff that matters.
Re:Why GNU grep is fast (2010) by elcomet on Friday March 29, 2019 @03:03PM (#19524533)
So if you cripple ripgrep, to act like grep, it is not much faster. This is kind of obvious. Ripgrep is faster because it makes assumptions, that will hold true for a large part of its users.

This is like saying "if I remove wings from a plane, then it won't go much faster than my car. So a plane is not technically faster than a car"

Of course, users should know the difference between grep and ripgrep (especially with tweaks like .gitignore, which could be confusing if you don't know).

Re:Why GNU grep is fast (2010) by hvis on Friday March 29, 2019 @09:14PM (#19526914)
They should also know that

  git ls-files -z | xargs -0 grep -nHE <regexp>
can be almost as fast.