Re: GCL slow reading files

Jaime Villate <[email protected]>
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <[email protected]>
On 4/10/26 08:27, David Scherfgen via Maxima-discuss wrote:
> Raymond Toy <[email protected]> schrieb am Fr., 10. Apr. 2026, 00:27:
>
>     On 4/9/26 8:33 AM, Leo Butler wrote:
>
>>     To see what I mean, start a fresh maxima+gcl build and do:
>>
>>     showtime:true $
>>     load(draw);
>
>     On my fairly fast machine, ecl takes about 3.3 sec. gcl takes 65
>     sec; ccl64, 0.57 sec; cmucl, 2.2 sec. Ccl is known for having a
>     very, very fast compiler.
>
> On my machine, GCL takes 2.4 seconds to load "draw". But it uses an 
> older version of GCL, namely 2.6.14. Maybe the "slowness" was 
> introduced with 2.7.x.
>
Just for comparison, here are the times to load draw:

CCL 1.12.2:         0.7492 seconds
CLISP 2.49.93+:  0.9718 seconds
SBCL 2.5.1:         1.9407 seconds
GCL 2.7.1:         25.4100 seconds

Anyone willing to do this test, keep in mind that draw is compiled only 
the first time it is loaded. If you have already loaded draw, you have 
to remove the compiled files in ~/.maxima/bin to force Maxima to compile 
it again.

That slower compilation time is more painful when compiling all of the 
sources in src Maxima (cd src; make):

CCL 1.12.2: 0m 14.675s
GCL 2.7.1:   4m 21.135s

Now, let's modify one file and recompile (touch plot.lisp; make):

CCL 1.12.2: 0m 0.213s
GCL 2.7.1:   8m 36.955s

The time of GCL didn't decrease, as one would expect, but it actually 
doubled!

Regards,

Jaime

_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.