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

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

bug#64735: 29.0.92; find invocations are ~15x slower because of ignores


From: Dmitry Gutov
Subject: bug#64735: 29.0.92; find invocations are ~15x slower because of ignores
Date: Fri, 21 Jul 2023 18:41:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 21/07/2023 16:46, Ihor Radchenko wrote:
Dmitry Gutov <dmitry@gutov.dev> writes:

On 21/07/2023 16:34, Ihor Radchenko wrote:
Dmitry Gutov<dmitry@gutov.dev>  writes:

On 21/07/2023 15:58, Ihor Radchenko wrote:
Dmitry Gutov<dmitry@gutov.dev>   writes:

Disabling file-handlers is inconceivable in Emacs.
Indeed. But we are talking about Emacs find vs. GNU find here.
In the scenarios where GNU find can be used, it is also safe to disable
file handlers, AFAIU.
So, we agree here? (I've read your reply as counter-argument to mine.)


We don't, IIUC.

To use GNU find on a remote host, you need to have the file handlers
enabled.

Let me clarify then.
I was exploring the possibility to replace GNU find with
`find-lisp-find-files'.

Locally, AFAIU, running `find-lisp-find-files' without
`file-name-handler-alist' is equivalent to running GNU find.
(That was a reply to Eli's message that we cannot disable
`file-name-handler-alist')

But it's slower! At least 2x, even with file handlers disabled. According to your own measurements, with a modern SSD (not to mention all of our users with spinning media).

Although, it will likely not
be usable then - running GNU find on remote host is going to be
unbeatable compared to repetitive TRAMP queries for file listing.

That's right.





reply via email to

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