[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-git-grep vs project-find-regexp
From: |
Nicolás Ojeda Bär |
Subject: |
vc-git-grep vs project-find-regexp |
Date: |
Mon, 21 Aug 2023 17:29:47 +0200 |
Hello,
I have used M-x vc-git-grep for a long time, but decided to give M-x
project-find-regexp a try after switching to 29.1.
While it seems to work well, project-find-regexp seems much slower
than vc-git-grep. After you execute the command, it pauses for what it
feels a long time (~2s in a medium-size codebase) before showing the
results. vc-git-grep on the other hand, starts displaying results
immediately.
Is there a good reason for this difference? The only visible
difference between both commands is that project-find-regexp's results
are displayed in a XREF buffer while vc-git-grep uses Grep mode.
Insights appreciated!
Best wishes,
Nicolas
- vc-git-grep vs project-find-regexp,
Nicolás Ojeda Bär <=