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 …
-
-
Replying to @szafranek
.
@szafranek I haven't used built-in search in my text editors, since I discovered Ag2 replies 0 retweets 0 likes -
Replying to @mrgnrdrck
That didn’t last long: I switched to ripgrep. It’s a faster, drop-in replacement for ag. Killer feature: --replace flag.
2 replies 0 retweets 3 likes -
Replying to @szafranek
however, ag is still faster in my limited test scenario?!
3 replies 0 retweets 0 likes -
Replying to @mrgnrdrck @szafranek
Is there a way you can describe the test such that others can reproduce it?
1 reply 0 retweets 0 likes -
Replying to @burntsushi5 @szafranek
git clone https://github.com/sinonjs/sinon.git … time ag -Q "defaultMsg" time rg "defaultMsg"
1 reply 0 retweets 0 likes
Replying to @mrgnrdrck @szafranek
Yeah, that's very small. If you run ripgrep with a single thread (-j1), then it's 4x faster.
4:06 PM - 14 Dec 2016
0 replies
0 retweets
0 likes
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.