From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Ihor Radchenko <yantar92@posteo.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#64735: 29.0.92;
 find invocations are ~15x slower because of ignores
Date: Fri, 21 Jul 2023 13:34:33 +0000
Message-ID: <87jzutl76e.fsf@localhost>
References: <iermszrwqj4.fsf@janestreet.com>
 <1fd5e3ed-e1c3-5d6e-897f-1d5d55e379fa@gutov.dev>
 <87wmyupvlw.fsf@localhost>
 <5c4d9bea-3eb9-b262-138a-4ea0cb203436@gutov.dev>
 <87tttypp2e.fsf@localhost> <837cqu35lw.fsf@gnu.org>
 <87o7k6pmk3.fsf@localhost> <834jly351p.fsf@gnu.org>
 <87lefapkdx.fsf@localhost> <831qh230h5.fsf@gnu.org>
 <87wmyu8mi0.fsf@localhost> <83wmyu1l1k.fsf@gnu.org>
 <87ttty8l73.fsf@localhost>
 <6f55b301-7610-ee4a-996e-fc6a8db33c33@gutov.dev>
 <87y1j9l8u2.fsf@localhost>
 <0c6f4daf-ea8a-0636-1b51-f4640ff39834@gutov.dev>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="21053"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: sbaugh@janestreet.com, Eli Zaretskii <eliz@gnu.org>, 64735@debbugs.gnu.org
To: Dmitry Gutov <dmitry@gutov.dev>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 15:35:30 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1qMqI5-0005Fo-PO
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 15:35:29 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1qMqHg-0000Q9-Iv; Fri, 21 Jul 2023 09:35:04 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qMqHe-0000PV-T2
 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:35:02 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qMqHe-0000Ie-Fk
 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:35:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qMqHe-0001aS-8M
 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:35:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Ihor Radchenko <yantar92@posteo.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 21 Jul 2023 13:35:02 +0000
Resent-Message-ID: <handler.64735.B64735.16899464756035@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 64735
X-GNU-PR-Package: emacs
Original-Received: via spool by 64735-submit@debbugs.gnu.org id=B64735.16899464756035
 (code B ref 64735); Fri, 21 Jul 2023 13:35:02 +0000
Original-Received: (at 64735) by debbugs.gnu.org; 21 Jul 2023 13:34:35 +0000
Original-Received: from localhost ([127.0.0.1]:60937 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qMqHC-0001ZG-4o
 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 09:34:34 -0400
Original-Received: from mout01.posteo.de ([185.67.36.65]:34515)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@posteo.net>) id 1qMqH6-0001Yy-1D
 for 64735@debbugs.gnu.org; Fri, 21 Jul 2023 09:34:32 -0400
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 08C92240028
 for <64735@debbugs.gnu.org>; Fri, 21 Jul 2023 15:34:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1689946462; bh=X97yuJL+rnGQxdHuTpyMndNoPTCbWbn9FJCbKlIiL7g=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=hP5UnPkC9mycx1V+uig4ePalGMumbKCFpv0xLPwzU1E07D8p1DK5WlyFXABbaOmfj
 uVVxma3+LG3Q/+RCJofd0PPDh7cIH9Rd+ByvsuQuxZ3DVqRAhu+IGIVLCDNqShsYjf
 USW7Ex28HNEzQhE1h5hUIXSZYC4NzsIL45UD5wEG65Hey+7jN+DI1a0PfsaY0Gt5/5
 c+/J1XIg1BNkzxZ/gxpJypkWQ50xEAzcpTjXFIJvdNIVNhDxYAdrChUZ6585dVMqID
 JexMDrhGZrJNrQUuiCie2wH6dGb4sPzkcex6bbdvJNOqTvSwwmOinrdjkj7vrEEhp8
 HX/SEYceRt8jw==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4R6rBP0JRJz6tyD;
 Fri, 21 Jul 2023 15:34:20 +0200 (CEST)
In-Reply-To: <0c6f4daf-ea8a-0636-1b51-f4640ff39834@gutov.dev>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:265708
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/265708>

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.)

>>> GNU find can be used on a remote machine. In all the same cases as when
>>> it can be used on the local one.
>> But GNU find does not take into account Emacs' file-handlers for each
>> directory when traversing directories.
>
> Indeed. Such usage always assumes the initial invocation and each 
> visited directory belong to the same remote host. Which is usually a 
> correct assumption.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>