quadpack with gcl



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.

best,
Robert