Re:Why GNU grep is fast (2010)
by heywoodlh on Sunday July 24, 2022 @02:32PM
(#32216263)
I have not worked in a monorepo. But that seems to be a great place to use `ripgrep`.
[ Parent
| on HN ]
Re:Why GNU grep is fast (2010)
by staticassertion on Sunday July 24, 2022 @03:16PM
(#32216652)
That's probably the #2 thing for me. The other is that I have a `~/workspace` where I put all of my projects and sometimes I ripgrep through there.
Re:Why GNU grep is fast (2010)
by marcinreal on Sunday July 24, 2022 @03:32PM
(#32216795)
It doesn't even have to be a monorepo to see the speed difference. In Emacs I frequently invoke a thing where it searches my codebase as I type. With ripgrep, the results update almost instantaneously. ag, the silver searcher, is the second fastest thing I've used, but there would be a noticeable lag in updating the results as I typed, even for smaller repos.
What's the emacs thing? I use deadgrep but your thing sounds better.
My hunch is consult-ripgrep or counsel-rg.
Re:Why GNU grep is fast (2010)
by marcinreal on Monday July 25, 2022 @05:03AM
(#32222090)
consult-ripgrep as the other commenter said. Before that it was helm-rg.