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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 22 Jul 2023 08:27:32 +0300

> From: Spencer Baugh <[email-masked]>
> Cc: Michael Albinus <[email-masked]>,  [email-masked],
>    [email-masked],  [email-masked], Richard Stallman
>   <[email-masked]>
> Date: Fri, 21 Jul 2023 15:33:13 -0400
> 
> Eli Zaretskii <[email-masked]> writes:
> > The first idea that comes to mind is to reimplement
> > directory-files-recursively in C, modeled on how Find does that.
> 
> If someone was thinking of doing that, they would be better off
> responding to RMS's earlier request for C programmers to optimize this
> behavior in find.

No, the first step is to use in Emacs what Find does today, because it
will already be a significant speedup.  Optimizing the case of a long
list of omissions should come later, as it is a minor optimization.