This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl_multifit
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