Subject: Re: LISP & "The Art of Unix Programming"
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 05 Nov 2003 08:09:37 -0600
Newsgroups: comp.lang.lisp
Message-ID: <MLKdnXmwOdE8mTSiXTWc-g@speakeasy.net>
Damien R. Sullivan <dasulliv@cs.indiana.edu> wrote:
+---------------
| rpw3@rpw3.org (Rob Warnock) wrote:
| >And then when you compare loading and running some substantial piece
| >of compiled code in each, well, CMUCL just gets faster...  ;-}
| 
| But if it's not compiled, CMUCL is pretty slow.
+---------------

Not really:

% time clisp -norc -x '(dotimes (i 1000) (print (+ 1 i)))' > /dev/null
0.014u 0.022s 0:00.03 100.0%    3966+2828k 0+0io 0pf+0w
% time cmucl -noinit -eval '(progn (dotimes (i 1000) (print (+ 1 i))) (quit))' > /dev/null
0.021u 0.014s 0:00.03 100.0%    140+2869k 0+0io 0pf+0w
% 

Or given what I said about needing to sum user+sys:

CLISP: 36ms
CMUCL: 35ms

About equal, actually...


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607