[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation to native
From: |
Richard Stallman |
Subject: |
Re: Compilation to native |
Date: |
Tue, 23 Mar 2004 12:48:20 -0500 |
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.
Compilation of CCL may be worth while. Or optimization
of the CCL interpreter may be possible.
- Re: Compilation to native, (continued)
- Re: Compilation to native, Juri Linkov, 2004/03/22
- Re: Compilation to native, Stefan Monnier, 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, Miles Bader, 2004/03/24
- 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 <=
- Re: Compilation to native, David Kastrup, 2004/03/23
- Re: Compilation to native, Matthew Mundell, 2004/03/24
- 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