[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?
- Re: Internationalize Emacs's messages (swahili), (continued)
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/25
- Re: Internationalize Emacs's messages (swahili), Stefan Monnier, 2020/12/25
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/25
- Re: Internationalize Emacs's messages (swahili), Stefan Monnier, 2020/12/25
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/25
- Re: Internationalize Emacs's messages (swahili), Richard Stallman, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), tomas, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/26
- Re: Internationalize Emacs's messages (swahili),
Eli Zaretskii <=
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Lars Ingebrigtsen, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Richard Stallman, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/27