gsl_multifit

Brian Gough bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001


Henry Sobotka writes:
 > Brian Gough wrote:
 > > 
 > > For extra speed try recompiling the library with -DGSL_RANGE_CHECK_OFF=1.
 > > Range checking is currently enabled by default, for safety, and puts an
 > > overhead on every matrix/vector operation.
 > 
 > Brian, are there any other similar macros that can be turned off at
 > compiletime for performance gains?

No. That is the only macro, apart from HAVE_INLINE which is turned on
by default.

The only other optimization I have up my sleeve is to introduce more
use of BLAS functions.  There are quite a few places where the code
uses a for-loop instead of calling the corresponding BLAS routine.

Brian



More information about the Gsl-discuss mailing list