[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 55ec674: * lisp/multifile.el: New file, extract

From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master 55ec674: * lisp/multifile.el: New file, extracted from etags.el
Date: Mon, 31 Dec 2018 14:42:52 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0

On 28.12.2018 6:45, Dmitry Gutov wrote:
I gave it a try, to reimplement project-find-regexp based on project-files is a straightforward way, pushed to branch scratch/project-files-pipe-grep.

Unfortunately, I couldn't exactly reach the performance of the find+grep version. Try:

(benchmark 10 '(project-find-regexp "xyz1"))
=> 5.60s
(benchmark 10 '(project-files-pipe-grep "xyz1"))
=> 6.31s or 6.10s, depending on the version

Any suggestions?


IMO, having this work without performance regression (or as little as possible) is a prerequisite to using 'git ls-files' in the vc project backend.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]