Re: Lisp vs. Java vs. C++ speed comparison time? [LONG]
Subject: Re: Lisp vs. Java vs. C++ speed comparison time? [LONG]
From: Valery Pipin
Date: Tue, 20 Jul 2004 18:54:51 +0900
On Friday 09 July 2004 01:04, Camm Maguire wrote:
> Greetings!
>
> "Vadim V. Zhytnikov" <vvzhy@mail.ru> writes:
> > Valery Pipin writes:
> > > On Saturday 03 July 2004 01:42, Camm Maguire wrote:
> > > <snipped>
> > > Is that the reason why I do not observe the memory leakage with maxima
> > > computations that done with cmucl implementation. In opposite, the gcl
> > > implementation can consume so much memory that I force to restart the
> > > x-session or even to reboot PC.
> >
> > I don't think this is memory leak. Gcl memory layout is less
> > compact compared to one of cmucl. The same computation on GCL
> > require more RAM and it starts swapping earlier.
>
> This is an interesting observation. If you can quantify this with
> some reproducible examples, we might be able to take a look at it.
>
> Take care,
I don't find problems like that "memory leakage" with the new gcl-2.6.3.
Instead gcl-maxima simply stops (with "bind-stack-overflow") when encounter
the piece of code needed the extensive memory usage. The example is given by
http://www.iszf.irk.ru/~pip/maxima/test/alm_dr.mc. To test it you need other
files in http://www.iszf.irk.ru/~pip/maxima/test like backrh.mac,ruleh.mac.
There are the correct versions of coeflist(format).lisp from contrib/format
and lc2kdt.mac from tensor.
The correct example obtained with cmucl is given by alp_dr.ts( for texmacs).
_____________
best regards,
Valery