Re:Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
by dmix on Tuesday March 24, 2026 @09:44AM
(#47502518)
When Claude Code uses `grep` it's actually using `rg` underneath
[ Parent
| on HN ]
Re:Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
by stared on Tuesday March 24, 2026 @10:15AM
(#47502947)
Oh, interesting! I had a user prompt that suggest using rg not grep, but was annoyed that it uses rg.
Re:Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
by tmp10423288442 on Tuesday March 24, 2026 @03:49PM
(#47508068)
Codex does as well, although I think it actually shows it running `rg`.
Re:Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
by arthurjean on Tuesday March 24, 2026 @06:49PM
(#47510646)
It even ships a bundled rg binary via @vscode/ripgrep — you can switch to your system rg with USE_BUILTIN_RIPGREP=0 for better perf. One gotcha worth knowing: in non-git repos, .gitignore rules are silently ignored because rg doesn't pass --no-require-git by default.