[Maxima] quadpack with gcl
robert.dodier at gmail.com
Sat Dec 16 19:28:34 CST 2006
On 12/16/06, Andrej Vodopivec <andrej.vodopivec at gmail.com> wrote:
> is there some other reason why quadpack functions compile the first
> argument than speed?
I'm pretty sure that COMPILE is called just to make it go faster.
> On my computer it takes about half a second to compile a function
> under gcl (gcl writes a file to the disc and then calls gcc).
Yes, that's a significant overhead when quadpack is being called
inside some loop (e.g. optimization or 2-d integration).
Incidentally some time ago I looked at what it would take to
get gcl to compile in-memory, and the simplest solution (barring
misunderstanding on my part, a very real possibility) is to
modify gas (gcc assembler).
> Why don't we remove the call to compile under gcl?
OK by me.
More information about the Maxima