[Maxima] quad_qag slow due to compilation at each step?

Raymond Toy (RT/EUS) raymond.toy at ericsson.com
Wed Mar 12 15:02:54 CDT 2008


Richard Fateman wrote:
> OK, that makes it more complicated, but still possible to disable.
> 
> The last time I did a comparison, CMU-CL's compiler was something like 20X
> slower than
> Allegro CL's compiler.  That was on a Sun workstation, probably 10 years
> ago.

It's probably still 20X slower, if not more.

> So if it turns out that compilation is really a large portion of the run
> time,
> there may be alternatives in other lisps.  (SBCL is a descendant of CMU-CL).

Last time I heard, SBCL was at least as slow as CMUCL.

Clisp has a fast compiler, as does openmcl.  GCL is even slower than 
CMUCL (because it calls the C compiler) at least for small functions. 
GCL might be faster than CMUCL for large functions.

Ray


More information about the Maxima mailing list