3 ms·
The performance difference between grep and ripgrep is stark, ripgrep is blazingly fast, isn't that worth some "bloat"?
by hayd 9y ago
The performance difference between grep and ripgrep is stark, ripgrep is blazingly fast, isn't that worth some "bloat"?
- burntsushi 9y agoSmall 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.)