Normally I prefer built-in tools, but Ag is so dramatically faster than grep, that I can’t imagine going back. https://github.com/ggreer/the_silver_searcher …
Is there a way you can describe the test such that others can reproduce it?
-
-
git clone https://github.com/sinonjs/sinon.git … time ag -Q "defaultMsg" time rg "defaultMsg"
-
Yeah, that's very small. If you run ripgrep with a single thread (-j1), then it's 4x faster.
End of conversation
New conversation -
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.