[Top][All Lists]

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

Re: Compilation to native

From: Matthew Mundell
Subject: Re: Compilation to native
Date: 24 Mar 2004 23:52:17 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <address@hidden> writes:

>     The loop _is_ purely computational.
> I was fooled by the indentation, which makes it appear
> that the call to current-time-string is inside the loop.
> See?
>     (defun silly-loop (n)
>       "Return time before and after N iterations of a loop."
>       (let ((t1 (current-time-string)))
>       (while (> (setq n (1- n))
>                             0))
>           (list t1 (current-time-string))))
> Anyway, such a small speedup is not worth the trouble.

OK, thanks for considering it.

reply via email to

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