4 ms·
Is it better than ack-grep? I've been using ack-grep for years, seems fine.
by djhworld 9y ago
Is it better than ack-grep?
I've been using ack-grep for years, seems fine.
- tyingq 9y agoSpeed is probably the main difference. I can't find direct comparisons, but ag is touted as faster than ack, and ripgrep as faster than ag.
- burntsushi 9y agoThe README contains a quick breakdown: https://github.com/BurntSushi/ripgrep#quick-examples-comparing-tools https://github.com/BurntSushi/ripgrep#quick-examples-compari... My blog post linked elsewhere goes into more detail, although I left out ack because it was too slow.
- whyever 9y agoIt's a lot faster. See http://blog.burntsushi.net/ripgrep http://blog.burntsushi.net/ripgrep. > Notably absent from this list is ack. We don’t benchmark it here because it is outrageously slow. Even on the simplest benchmark (a literal in the Linux kernel repository), ack is around two orders of magnitude slower than ripgrep. It’s just not worth it.