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: Sun, 27 Dec 2020 05:35:28 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
> Date: Sat, 26 Dec 2020 17:08:23 -0500
> 
> > Oh, sure.  But since this is a pure speed optimisation we're talking
> > about, the Lisp solution would be slower than the (< (length foo) bar)
> > in a significant number of cases, and we don't want that, do we?
> 
> Actually, AFAICT this all started from:
> 
>     (not (null (cdr deleted))) would avoid traversing the entire list,
>     but it wouldn't be easier to read.

No, it started from

  (> (length LIST) 1)

being a waste of cycles.



reply via email to

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