help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: cl-dolist, dolist, cl-return,


From: Stefan Monnier
Subject: Re: cl-dolist, dolist, cl-return,
Date: Fri, 10 Jul 2015 12:57:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> But I'm not using nth - probably you misread "neq".

No, I'm talking about the code used internally by dolist.  If the list
over which we iterate were re-computed each time, then to find the "next"
element, we'd need to use nth at each iteration.

IOW it's a different problem from the re-computation of array bounds at
each iteration (which would be inefficient in itself but wouldn't impose
additional inefficiencies on the rest of the loop).


        Stefan




reply via email to

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