5 ms·
I'm also using `ag` over `ack` and `grep` as it seems to combine the speed of grep with the features of ack. In fact, the author used `git grep` to benchmark a
by sdfjkl 13y ago
I'm also using `ag` over `ack` and `grep` as it seems to combine the speed of grep with the features of ack.
In fact, the author used `git grep` to benchmark against: http://geoff.greer.fm/2011/12/27/the-silver-searcher-better-than-ack/ http://geoff.greer.fm/2011/12/27/the-silver-searcher-better-...
- dfc 13y agoIt looks like the author used BSD grep on OSX (despite linking to FSF) which explains the dogshit performance of grep. If you use a mac install grep from Homebrew with the `--default-names` option.