emacs-devel
[Top][All Lists]
Advanced

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

Re: Internationalize Emacs's messages (swahili)


From: Eli Zaretskii
Subject: Re: Internationalize Emacs's messages (swahili)
Date: Sat, 26 Dec 2020 11:24:57 +0200

> From: Tomas Hlavaty <tom@logand.com>
> Cc: rms@gnu.org, bugs@gnu.support, dimech@gmx.com,
>       abrochard@gmx.com, emacs-devel@gnu.org,
>       Zhu Zihao <all_but_last@163.com>
> Date: Sat, 26 Dec 2020 10:06:03 +0100
> 
> On Fri 25 Dec 2020 at 22:06, Daniel Brooks <db48x@db48x.net> wrote:
> >     (let ((pl (> (length deleted) 1))
> 
> On a different note, there are 725 matches for "> (length" in Emacs.
> Computing length first and then comparing the number of items is very
> inefficient.

What did you have in mind that would be more efficient?

The above code sets 'pl' to a simple boolean based on whether
'deleted' has one member or more than one.  What more efficient code
would you suggest here?



reply via email to

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