From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64735: 29.0.92; find invocations are ~15x slower because of ignores Date: Sat, 22 Jul 2023 14:35:13 +0800 Message-ID: <87v8ec313y.fsf@yahoo.com> References: <1fd5e3ed-e1c3-5d6e-897f-1d5d55e379fa@gutov.dev> <87wmyupvlw.fsf@localhost> <5c4d9bea-3eb9-b262-138a-4ea0cb203436@gutov.dev> <87tttypp2e.fsf@localhost> <83351i338m.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Spencer Baugh , yantar92@posteo.net, 64735@debbugs.gnu.org, dmitry@gutov.dev To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 22 08:36:19 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 1qN6Dx-0008Pf-Jp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jul 2023 08:36:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qN6Dl-0005c3-Ko; Sat, 22 Jul 2023 02:36:05 -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 1qN6Dj-0005bn-PT for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 02:36:03 -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 1qN6Di-00014M-JJ for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 02:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qN6Di-0007K2-23 for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 02:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jul 2023 06:36: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.169000773328112 (code B ref 64735); Sat, 22 Jul 2023 06:36:02 +0000 Original-Received: (at 64735) by debbugs.gnu.org; 22 Jul 2023 06:35:33 +0000 Original-Received: from localhost ([127.0.0.1]:35310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN6DF-0007JM-Fn for submit@debbugs.gnu.org; Sat, 22 Jul 2023 02:35:33 -0400 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:37505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN6DB-0007J8-W4 for 64735@debbugs.gnu.org; Sat, 22 Jul 2023 02:35:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690007724; bh=tSj4J9q3molIIO2jERfQxF75sUyV0FmJXnnWpIBn37U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=VbA7BpgP2J9O5uXNECboAvU0S9wfYzR4pLC/RTgvjUWrX7+NB+uFczMFgLaKugWK9o6CNX2IgqPkQvwzmY+0k8Gq+/TBoutlggvMKXXSZnakxObYSMeaLZ122PvkIK56Y8MH2xwgpxtO73cOtZFGi2QbVlo3VFJLUzHGcmcujWvcNnGVrL21H5G+IFh2oinV1smJIw8gQXLVs55fxPkdFJFLRT2HC9ogPjm9bJwFctEOk9DT60V9nlBGthFsYmim6bH549OdWdk4kHhuVP94wJoy3KU7z3i6aGYjE7e+vCDh5+BHcLSp8dOPOnDsVq4JLgVGm/RNHEZ2/eY2rghpWQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690007724; bh=nnXrmyC4hduJU4nBtBkKJ0mqEcFxp/9cnD38p9Y81q4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=YFqaY86v4XtjGNJv/k4/qc4aPvDZW1OBAm/llSO80+HQs6kpIhfVo9ruUcKg4fW3lcJvSrvzOZUg/HEXRv6NSiltEZh7kCrpmupSEsqoAhWnh422STM/0norp5KIUJmpGPsQewmrclW/kIMg7uEoUYxwePISvlYp9jxW2CVPMFNsUc0ipO7QWV47CwEutIKtLcQ8bNEkNkIOKIj1PSTmhGmOBFl1S/r1XMb7enmLCyhd2HsvPR/bk2eKZqxAULMrY9pbav85wIuT3nLw6GrbKw2JH5tmmT81xtwD6goE3yFSMz401DaaL0xteBMzSu0eBz9c1JUEGvFxluVt0ZLi8Q== X-YMail-OSG: ZCo3DDcVM1mTFKiG2pOjVUNLtm3fQpvxXwEhHtjRBkevNnLIx8Skl0XnF2zaifQ _F6dBDexC2Os4SaFsBtxbgv00bw9ks9TIE4i3E7yrKbsdTRCqWu0uHhzhwkH45Vjm8aeuB6fB0Al AiHt.niXBVFcd92s4g4m8gQkQTHTrKqfCg_j1LGkHlPJKneB2p9.Fw3XgcvLmKRPWKwBRJGh1Za7 qENkupx0.yYnLU01zdEfwGWKL8AMHJOasbJPHdPXtbuzIITHKViovo.7TjQS2ZQtCP2weeEAQl_Y mHxjWs4XnyKxx3FvvMBGHaxT4wDvlAoWbcCrm31yyGF.2SWCri3IXyV3fTVqsA8KsX86GeTRc.Sj P5K6er9p2xZKvflfbJXUqpRapcEidzxiv5ypoHZvk.RBaIjd4_MXAq_Hsq2MzPCCB6v9tCd2qx5a E0Kpvzue499e1JCVvfkOSOeVfc9TwTeSwq4rE20x3Wo2CKutJrEygQAjbGvs4zfCG7rzCVsEVpQK 7n03jfhXl3P2RUpmsCSNvb310vV2TvXArqf_0LM_5aJ7zCLdM8I9F6.lSWuxBTQAJp7.tFMitZsp 444.s4tR94F6ztlJNssl6zN0uCU5Mls5JkzFsGj4Ad3VuroSGKd9adsk4sKraV7re9FYi_SrZx2y mJCuGGCLJHkmYrvLy23dZGHc0EsS6Pi3qreJPHGzxHrfRwVZa9DpJOx_YDN0GsMJSNnUtpPxIxSu uoLLra8stf6VY1ewGvjpV37.Xf2Ln_6MsuQR0FWbaMZHX4m1uVhLb2AgA_XI_bahLd4SiMVopyQm VA2dbPlJyDvKxqFEX.kb7kfZPFs1hRUBY8Q1DNdgUE X-Sonic-MF: X-Sonic-ID: a74230b5-1c24-4fe9-8632-014ce33b17ac Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sat, 22 Jul 2023 06:35:24 +0000 Original-Received: by hermes--production-sg3-9dc5f54fc-zbsxq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 75a8bfcd853f39f57b16aa0b3aa78f6c; Sat, 22 Jul 2023 06:35:20 +0000 (UTC) In-Reply-To: <83351i338m.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Jul 2023 20:24:41 +0300") X-Mailer: WebService/1.1.21647 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:265776 Archived-At: Eli Zaretskii writes: >> Cc: Dmitry Gutov , 64735@debbugs.gnu.org >> From: Spencer Baugh >> 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.