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: Andreas Schwab
Subject: Re: Internationalize Emacs's messages (swahili)
Date: Sun, 27 Dec 2020 13:56:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux)

On Dez 27 2020, Lars Ingebrigtsen wrote:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> I whipped one up quickly.
>
> With this totally realistic benchmark, this is what we have today:
>
> (let ((list (make-list 10000 nil)))
>   (benchmark-run 1000000 (< (length list) 2)))
> => (10.826215101 0 0.0)
>
> The same, with length<:
>
> (let ((list (make-list 10000 nil)))
>   (benchmark-run 1000000 (length< list 2)))
> => (0.05590014099999999 0 0.0)
>
> If we avoid tortoise/hare for small LENGTHs, then it's about 20% faster
> than that again (if we're doing (length< list 200)).

Why do you need to reimplement nthcdr, badly?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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