emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-equal-p


From: Eli Zaretskii
Subject: Re: file-equal-p
Date: Thu, 16 Feb 2023 14:42:49 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 16 Feb 2023 20:34:04 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > It is still one more test, done for everyone.
> 
> Is file-equal-p a function called in particularly tight loops?

I don't know, but punishing everyone for the benefit of a single OS
sounds wrong to me.

> It will otherwise result in file-attributes being called two more times
> on the system being tested against.

Not if you call file-attributes once and store the results in local
variables.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]