On Sun, Apr 23, 2006 at 10:03:26AM -0600, Eric Arnold wrote: > Am I doing something wrong, or is :vimgrep about 10x slower than a > shell grep?
I have not tested, but I assume that there is less overhead in calling :vimgrep (internal) than the external grep. I would not be surprised if the internal function is slower on big jobs, and that this eventually eats up the advantage of lower overhead. Still, 10x seems surprising. Can you give a test case, perhaps in the vim source directory? What is your OS? HTH --Benji Fisher