How to speed up programs by compiling



Actually the number of calls to integrate number 300 in the for loop.  I need to profile my code before I say anymore.  Thanks

Rich

----- Original Message ----- 
From: "Richard Fateman" <fateman at cs.berkeley.edu>
To: "Richard Hennessy" <rich.hennessy at verizon.net>
Cc: "Maxima List" <maxima at math.utexas.edu>
Sent: Saturday, September 05, 2009 6:01 PM
Subject: Re: [Maxima] How to speed up programs by compiling


It would be helpful if you showed what the calls to the built-in 
integrate  program look like.

If they are truly polynomials, perhaps you are doing thousands of 
calls?   Or perhaps you
have coefficients which are thousands of digits long?   If the latter, 
then what you need
is not faster integration, but faster arithmetic on bignums!