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

From: Po Lu <[email-masked]>
Date: Sat, 22 Jul 2023 14:35:13 +0800

Eli Zaretskii <[email-masked]> writes:

>> Cc: Dmitry Gutov <[email-masked]>, [email-masked]
>> From: Spencer Baugh <[email-masked]>
>> Date: Thu, 20 Jul 2023 13:08:24 -0400
>> 
>> (Really it's entirely plausible that Emacs could be improved by
>> *removing* directory-files-recursively, in favor of invoking find as a
>> subprocess: faster, parallelized execution, and better remote support.)
>
> No, there's no reason to remove anything that useful from Emacs.  If
> this or that API is not the optimal choice for some job, it is easy
> enough not to use it.

Indeed.

I would like to add that subprocesses remain unimplemented on MS-DOS,
and the way find is currently invoked from project.el and rgrep makes
both packages lose on Unix, indicating that correct portable use of find
is decidedly non-trivial.