Optimizing calls to GSL functions

Brian Gough bjg@network-theory.co.uk
Tue Jun 12 14:03:00 GMT 2007


At Sat, 9 Jun 2007 21:01:10 +0200,
Jochen Küpper wrote:
> > __attribute__ ((pure), see "Function attributes" in the GCC manual  
> > for details.
> 
> Does GSL make use of this when compiled using GCC? Grepping the code  
> for "attribute" it looks like it doesn't.

No, currently it is not used.  

If there were any mistakes it could cause bugs that would be very
difficult to track down.  If a non-pure function is declared pure
there is no warning, for example.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/



More information about the Gsl-discuss mailing list