On 20.06.2020 07:09, andres.ramirez wrote: > Dmitry> Anybody? > > Before the patch: > --8<---------------cut here---------------start------------->8--- > Elapsed time: 6.010101s > Elapsed time: 5.863914s > --8<---------------cut here---------------end--------------->8--- > > After installing ripgrep and patch: > --8<---------------cut here---------------start------------->8--- > Elapsed time: 3.261737s > Elapsed time: 1.742008s > --8<---------------cut here---------------end--------------->8--- Thanks, Andres. Looks promising. Here's the latest version of the patch, if you'd like to test. I don't expect major changes in performance, but it does add a pipe to 'sort', which creates some overhead proportional to the number of search results. To enable ripgrep with this, one needs to 'M-x customize-variable xref-search-command-template'.