The Ruby code can now be downloaded from sourceforge. The link is on the page at http://sode.sourceforge.net/ where there are also links to test results in tables which themselves contain links to the generated maple and maxima code (which is more likely to be useful to you.)
Dennis J. Darland
dennis.darland at yahoo.com
http://dennisdarland.com/http://dennisdarland.com/dennisdaze/http://dennisdarland.com/philosophy/
"According to the World Health Organization, the warming of the planet caused an additional 140,000 deaths in 2004, as compared with the number of deaths there would have been had average global temperatures remained as they were during the period 1961 to 1990. This means that climate change is already causing, every week, as many deaths as occurred in the terrorist attacks on September 11, 2001"
-- Peter Singer _Practical Ethics, Third Edition_, p. 216.
--- On Sun, 6/17/12, Dennis Darland <dennis.darland at yahoo.com> wrote:
> From: Dennis Darland <dennis.darland at yahoo.com>
> Subject: Re: [Maxima] maxima is 100 times slower than maple
> To: "Richard Fateman" <fateman at eecs.berkeley.edu>
> Cc: "maxima at math.utexas.edu" <maxima at math.utexas.edu>
> Date: Sunday, June 17, 2012, 9:07 AM
> I ran a more complete set of
> comparisons last night and got more varied results. (I had
> expected the pre-computing to help maxima more than maple) I
> do not have time to go over them more thoroughly till this
> afternoon. I will post the Ruby program to the web site http://sode.sourceforge.net/ as soon as the results are
> stable. The test results and generated maple and maxima code
> to compute them are already there.
>
> Dennis J. Darland
> dennis.darland at yahoo.com
> http://dennisdarland.com/
> http://dennisdarland.com/dennisdaze/
> http://dennisdarland.com/philosophy/
> "According to the World Health Organization, the warming of
> the planet caused an additional 140,000 deaths in 2004, as
> compared with the number of deaths there would have been had
> average global temperatures remained as they were during the
> period 1961 to 1990. This means that climate change is
> already causing, every week, as many deaths as occurred in
> the terrorist attacks on September 11, 2001"
> -- Peter Singer _Practical Ethics, Third Edition_, p. 216.
>
>
> --- On Sun, 6/17/12, Richard Fateman <fateman at eecs.berkeley.edu>
> wrote:
>
> > From: Richard Fateman <fateman at eecs.berkeley.edu>
> > Subject: Re: [Maxima] maxima is 100 times slower than
> maple
> > To: "Dennis Darland" <dennis.darland at yahoo.com>
> > Cc: "MichaelSoegtrop" <michael.soegtrop at intel.com>,
> "Henry Baker" <hbaker1 at pipeline.com>,
> "maxima at math.utexas.edu"
> <maxima at math.utexas.edu>
> > Date: Sunday, June 17, 2012, 1:09 AM
> > On 6/16/2012 6:08 PM, Dennis Darland
> > wrote:
> > > I've been working on numerical solution of
> differential
> > equations. My (Ruby) program generates either Maple or
> > Maxima. Maple generally is much faster. ( http://sode.sourceforge.net/ ) I just added
> > pre-computing factorials. On a simple problem these
> were the
> > results
> > >
> > > Language? ? ? Before? ? ?
> > ? ???After
> > > Maple? ? ? ???1 min 40
> > sec? ???29 sec
> > > Maxima? ? ? ? 40min 33 sec?
> > ???31 min 58 sec
> > >
> > > Dennis J. Darland
> > >
> > 1. Computing numerical solutions of differential
> > equations? (presumably using floating-point
> > arithmetic)
> > might be made substantially more efficient by adding
> > declarations and compiling functions.
> >
> > 2. If pre-computing factorials reducing the time by 70%
> in
> > maple and 20% in maxima suggests
> > that you are doing something out of the ordinary.
> >
> > If you can post your code, that might help people
> explain
> > how you might make maxima faster.
> >
> >
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>