The Silver Searcher, or ag: https://github.com/ggreer/the_silver_searcher
Designed as a replacement for all of the use cases of Ack. Is even faster.
Designed as a replacement for all of the use cases of Ack. Is even faster.
If you want to know why ag is so fast, there's a summary in the GitHub README.[1] I've also written a few blog posts on the subject.[2]
1. https://github.com/ggreer/the_silver_searcher#how-is-it-so-f...
Sold!
Ack and Ag found the same results, but Ag was 34x faster
(3.2 seconds vs 110 seconds). My ~/code directory is about
8GB. Thanks to git/hg/svn-ignore, Ag only searched 700MB of that.
Searching less data definitely is going to take less time!It even better than ack. This is very useful on large codebases.