On Sat, Jan 12, 2008 at 06:16:44PM -0800, SJS wrote:
begin quoting Andrew Lentvorski as of Sat, Jan 12, 2008 at 03:56:32PM -0800:
[snip]
However, if you type it in from the repl, you've already sunk the
compilation time. Calling it from the command line forces you to add
the compilation time to the actual execution time.
I'm using clisp (on rohan) -- is there a way to compile it to something
that runs from the command-line?
clisp is about 40-times slower than sbcl on this problem. SBCL can also
cache it's compiled version, so the load time is probably fairly
insignificant.
Nonetheless, for SBCL, with your "command line version" (no compiler
caching).
SBCL:
0.243 seconds of real time
0.232014 seconds of user run time
0.012001 seconds of system run time
[Run times include 0.06 seconds GC run time.]
0 calls to %EVAL
0 page faults and
38,605,008 bytes consed.
Clisp:
Real time: 9.079655 sec.
Run time: 9.072568 sec.
Space: 41805808 Bytes
GC: 24, GC time: 0.36402 sec.
It doesn't run under GCL, which appears to be missing enough ANSI things.
Dave
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg