bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34343: [PATCH] Make project--find-regexp-in-files work with remote f


From: Dmitry Gutov
Subject: bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files
Date: Fri, 3 Jan 2020 03:57:27 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 02.01.2020 12:48, Michael Albinus wrote:
Yes, file-local-name is slow for
remote files, and yes, it doesn't matter for single invocations. Bulk
invocation, as you have it, will show an additional performance penalty,
even if there is no remote execution of any command.

The unfortunate imbalance here at the moment is that piping the list of file names through file-local-name takes longer than the time to fetch all the project files, and the time to search them, combined with the all the necessary round-trips to the servers I have been testing at (where the RTT is > 200 ms). As soon as the project is at least of moderate size.





reply via email to

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