Using CRE expressions reduces the run time for the big loop in your code by a factor of about 3. To do this, insert something
like
f : rat(f)
C[0] : rat(1/(2*pi^(3/2)*sqrt(rho[0, 0]*d)*m*sigma));
into your code
--Barton
________________________________________
From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on behalf of Dmitry Shkirmanov [piminusmeson at bk.ru]
Sent: Thursday, June 14, 2012 07:14
To: maxima at math.utexas.edu
Subject: maxima is 100 times slower than maple
Hello, list. I am comparing the speed of execution of maple and maxima
programs. And maple is 100 times faster then maxima for symbolic
computation. For example, to run the attached program maxima needs about
50 seconds on my laptop. To run the same program(of course, syntax of
program must be accordingly changed) maple needs about 0.5 seconds.
I am using debian stable, maxima is configured to use sbcl, version of
maxima is 5.27.0
Is there any possibility to speed up maxima?