bug#81525: 32.0.50; [PATCH] Performance improvement for rgrep's find command

Phil Sainty <[email protected]> Sat, 01 Aug 2026 00:13:07 +1200
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
On 2026-07-31 20:13, Manuel Giraud wrote:
> Thanks.  I have used your benchmark and FWIW, I don't see much
> difference on a OpenBSD machine:

Interesting.  Perhaps your version of find figures out that
it can use more efficient matching in these cases (or just
has a faster implementation of the -path matching).

Which version of find are you using?  I see:

$ find --version
find (GNU findutils) 4.8.0
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION 
FTS(FTS_CWDFD) CBO(level=2)