[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.
- Re: Compilation to native, (continued)
- Re: Compilation to native, Matthew Mundell, 2004/03/22
- Re: Compilation to native, Juri Linkov, 2004/03/23
- Re: Compilation to native, Matthew Mundell, 2004/03/24
- Re: Compilation to native, Richard Stallman, 2004/03/23
- Re: Compilation to native, Matthew Mundell, 2004/03/22
- Re: Compilation to native, Richard Stallman, 2004/03/23
- Re: Compilation to native, David Kastrup, 2004/03/23
- Re: Compilation to native,
Matthew Mundell <=
- Re: Compilation to native, Matthew Mundell, 2004/03/30
- Re: Compilation to native, David Kastrup, 2004/03/30
- Re: Compilation to native, Matthew Mundell, 2004/03/31
- Re: Compilation to native, Juri Linkov, 2004/03/30
- Re: Compilation to native, Richard Stallman, 2004/03/31
- Re: Compilation to native, Richard Stallman, 2004/03/31