emacs-devel
[Top][All Lists]
Advanced

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

Re: A few thoughts on seq.el


From: Michael Heerdegen
Subject: Re: A few thoughts on seq.el
Date: Tue, 02 Aug 2016 00:08:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> list L has, say, 100000 elements,
>
>    (cl-subseq l 1 3)
>
> will be very slow because it always calculates the length of the first
> argument L.

Eh, no, that must have been another function, or it has been fixed.
What I said is not correct, the function calculates the list length only
when necessary (negative indexes).


Michael.



reply via email to

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