From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#64735: 29.0.92; find invocations are ~15x slower because of ignores Date: Fri, 21 Jul 2023 16:00:46 +0300 Message-ID: <0c6f4daf-ea8a-0636-1b51-f4640ff39834@gutov.dev> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1780"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: sbaugh@janestreet.com, Eli Zaretskii , 64735@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 15:01:42 2023 Return-path: 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 ) id 1qMplN-0000HR-83 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 15:01:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMplC-0007aB-Qf; Fri, 21 Jul 2023 09:01:32 -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 ) id 1qMpkv-0007ZJ-Jm for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:01:14 -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 ) id 1qMpkk-0000Zb-5P for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:01:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMpkk-0000SR-1r for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 13:01:02 +0000 Resent-Message-ID: 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.16899444601743 (code B ref 64735); Fri, 21 Jul 2023 13:01:02 +0000 Original-Received: (at 64735) by debbugs.gnu.org; 21 Jul 2023 13:01:00 +0000 Original-Received: from localhost ([127.0.0.1]:60881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpki-0000S3-Cl for submit@debbugs.gnu.org; Fri, 21 Jul 2023 09:01:00 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:52801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpkf-0000RZ-CB for 64735@debbugs.gnu.org; Fri, 21 Jul 2023 09:00:58 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 85C5F3200925; Fri, 21 Jul 2023 09:00:50 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 21 Jul 2023 09:00:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1689944450; x=1690030850; bh=sY0D68lTqr/ynw2XUE4suwbwfPW+oxwP+QB VJArAoV4=; b=eh8tNW4KF08VnaC78zNhHFQwXlscbHE+E8FfufG3crEk97q1n0I 8BqVvYVhE2O22U8oo4vw0KZTKdzjC4EdjdI8k44VQbuK2EGUEc+Y5d7YsGtpUokn lSgtdMyxVrbCSI/yEi0sTV0f8ke6C5ePdPRaF9EL7RyFEb4EgL2R5MKUUFaBjbQP mNGu6lr3cQyPN9HB2f9kjZVgew8rx5mIsRFZhYLVWSVHdYAVlATRUhKll+HKKd+A 3VixBFKr/uYRkWHLbvJwwbgRgwYlhCOjKK3LttQEizDICvOZK1IJoi3ls1eyUbm4 zxt0zFnTUXBpxnS80ksV0iyR/9XSYxA/O8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1689944450; x=1690030850; bh=sY0D68lTqr/ynw2XUE4suwbwfPW+oxwP+QB VJArAoV4=; b=gHuwnthOfVBS3u9JoCmwQXrZDnhKoUaG/ZMCTxKUyQL/9HHKXk4 m9rypFbeyjY9EuG1MYhy62673pW0EBZtM6l046fnRedDBfAL2yNSkkl9e66y7/rI y/upjk9VYJ7nUVrjvePdd7ofniuByTgOOrFHlrrBFi1VNhU8DTwL+KG172/b5W0L 3RM1IuOXzrcLj6D27f6pCye56QHE1VlK+OOr2d9VRVptXPNbQ8S4B3LMc4aNnDi4 tpkDzFwsZaz6fEcDE+QPsFvHCWN5oZFTLiMZhAuF4Q/9Cjw6QnTikhWqvjXq8dtP 3LXta0XDebQPDSqPVbV3mtNs0sk91ZfVMoA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrhedvgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Jul 2023 09:00:47 -0400 (EDT) Content-Language: en-US In-Reply-To: <87y1j9l8u2.fsf@localhost> 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:265699 Archived-At: On 21/07/2023 15:58, Ihor Radchenko wrote: > Dmitry Gutov 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. >> 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.