Subject: bug#70036: a fix that

From: Ihor Radchenko <[email-masked]>
Date: Fri, 19 Apr 2024 07:51:35 +0000

Eli Zaretskii <[email-masked]> 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@localhost/)

Will it be of interest?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>