Re:Grep too slow? Use git-grep
by reddit_clone on Tuesday July 09, 2013 @05:54PM
(#6015839)
If I were to guess, I would think grep has to traverse the directory tree while git knows all the file names already.
[ Parent
| on HN ]
Re:Grep too slow? Use git-grep
by abc_lisper on Tuesday July 09, 2013 @06:10PM
(#6015951)
This I don't believe to be true. For many years, I have kept a file with all the filenames in it, and did a grep on the files in the list, and it is slower than git-grep.