GNU bug report logs - #70036
30.0.50; Move file-truename to the C level

Previous Next

Package: emacs;

Reported by: Theodor Thornhill <theo <at> thornhill.no>

Date: Wed, 27 Mar 2024 19:10:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: theo <at> thornhill.no, 70036 <at> debbugs.gnu.org, felician.nemeth <at> gmail.com, joaotavora <at> gmail.com
Subject: bug#70036: a fix that
Date: Thu, 02 May 2024 12:40:42 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: joaotavora <at> gmail.com, felician.nemeth <at> gmail.com, 70036 <at> debbugs.gnu.org,
>  theo <at> thornhill.no
> Date: Tue, 30 Apr 2024 11:30:39 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> 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 <at> 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.




This bug report was last modified 1 year and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.