I'm using win32 gvim70f.  If I use the externan Cygwin grep

grep -i -r vimgrep .

it returns the results in under a second.

:vimgrep vimgrep **

takes about 20 seconds.

On 4/26/06, Benji Fisher <[EMAIL PROTECTED]> wrote:
> 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
>

Reply via email to