Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The performance difference between grep and ripgrep is stark, ripgrep is blazingly fast, isn't that worth some "bloat"?


Small correction: the performance difference between ripgrep and GNU grep on single large files isn't that great for common use cases. For some more complex cases involving Unicode (and specifically, predominantly non-ASCII files), ripgrep can do a lot better.

(That statement changes a lot if you're looking at another grep like BSD grep, or if you're directly comparing `grep -r pattern` with `rg pattern`, which is always subject to caveats, because the latter is doing some guesswork and parallelism where the former isn't.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: