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


Message #215 received at 70036 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#70036: a fix that
Date: Fri, 19 Apr 2024 13:51:15 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: João Távora <joaotavora <at> gmail.com>,
>  felician.nemeth <at> gmail.com,
>  70036 <at> debbugs.gnu.org, theo <at> thornhill.no
> Date: Fri, 19 Apr 2024 07:51:35 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> I still think the cleanest solution is to write file-truename
> >> in C.
> >
> > I explained in that past discussion why this is not simple.  So if
> > simpler solutions exist, we should prefer them.
> 
> 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.




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

Previous Next


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