Comment by EliMdoza

Comment by EliMdoza 8 hours ago

1 reply

been using both for many years now, have never ran into issues or even been able to tell any difference in speed, let alone 10x

what I notice unfortunatly, is that I often miss search results with rg becuase I forget I need to pass the additional -i flag. this has shaped my perception of rg - extra focus on performance, sub-optimal ux

burntsushi 7 hours ago

Whether smart case is enabled by default (as ag does) could easily go either way. Notably,.I think having it disabled by default is a better UX. But ripgrep does have a --smart-case flag, which you can add to an alias or a ripgrep config file. It also works more consistently than ag's smart case feature, which has bugs.

See my other comments about perf difference. And ag has several very critical bugs. And it's unmaintained.

> or even been able to tell any difference in speed

If you only search small amounts of data, then even a naive and very slow grep is likely just fine from a perf perspective.