From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70036: a fix that Date: Thu, 02 May 2024 12:40:42 +0300 Message-ID: <86wmoclffp.fsf@gnu.org> References: <4e670617-6483-4159-a5cf-27a921764c38@email.android.com> <864jbxden1.fsf@gnu.org> <877cgt7ptk.fsf@localhost> <86sezhbp7g.fsf@gnu.org> <87r0enozog.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, 70036@debbugs.gnu.org, felician.nemeth@gmail.com, joaotavora@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 11:41:52 2024 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 1s2Swp-0000w5-Mj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 11:41:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2Swg-0008Sc-Pk; Thu, 02 May 2024 05:41:42 -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 1s2Swe-0008Ri-FE for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:41:40 -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 1s2Swe-0006zK-1R for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:41:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2Swz-0006DE-Lw for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.171464287623866 (code B ref 70036); Thu, 02 May 2024 09:42:01 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 2 May 2024 09:41:16 +0000 Original-Received: from localhost ([127.0.0.1]:42701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2SwF-0006Cs-Sy for submit@debbugs.gnu.org; Thu, 02 May 2024 05:41:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2SwD-0006Ck-KT for 70036@debbugs.gnu.org; Thu, 02 May 2024 05:41:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2Svl-0006uf-Ma; Thu, 02 May 2024 05:40:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eDv7dYKXynH48ZP+VD/fq8ckmNEnarjJJ0ZDnuRaKr8=; b=YmcLlz/gQYbL sxiVPq+rPY58Dja8UMfhfrKys5VlwyBk7qTQEGQK6bF75ICqbJIOaEEv1J03x3a2ZmIFXy4fvYWAq NaN6ePz5D3P3vevm0c5dfTtRSEkQQIVvzqsuGVSvKY9NWV4WX/dxeVwnhxRe/dSrdN4OXIAmj2Bxu 1SM7CeL4g6jGGCWc570BA995zhXHTJzVOrBLea/e1sUs5RHiqYvi1HtSFnfYDtbb4py94Z6n2MXc0 Tb2w3xjvrrLstS1LAsINfTRzDllH+CkH6GeMAXcDHZohMSW+pKJGmajPsuoEVpsdMqbcTX+sOOrpH f7Z2vxJ/WqqRs0wSostBLg==; In-Reply-To: <87r0enozog.fsf@localhost> (message from Ihor Radchenko on Tue, 30 Apr 2024 11:30:39 +0000) 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:284296 Archived-At: > From: Ihor Radchenko > Cc: joaotavora@gmail.com, felician.nemeth@gmail.com, 70036@debbugs.gnu.org, > theo@thornhill.no > Date: Tue, 30 Apr 2024 11:30:39 +0000 > > Eli Zaretskii writes: > > >> There are some easy things that can be done to improve `file-truename' > >> performance somewhat. For example, the number of calls to > >> `file-name-nondirectory' can be trivially reduced in the `file-truename' > >> code - it is called up to three times in a row. > >> > >> (see my earlier message in https://yhetil.org/emacs-bugs/87jzlmd831.fsf@localhost/) > >> > >> Will it be of interest? > > > > Yes, of course. Those kinds of changes are no-brainers, really. > > See the attached patch. Thanks, now installed on master.