This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimizing calls to GSL functions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]