Boost logo

Boost :

From: Joerg Walter (jhr.walter_at_[hidden])
Date: 2002-06-26 14:00:47


----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, June 26, 2002 4:54 PM
Subject: Re: [boost] uBLAS performance problem with CodeWarrior 8

>
> ----- Original Message -----
> From: "Joerg Walter" <jhr.walter_at_[hidden]>
>
> > Please check, whether the preprocessor symbol NDEBUG is defined. NDEBUG
> in
> > turn defines NUMERICS_USE_ET, which enables uBLAS release mode. uBLAS
> > distinguishes debug mode (size conformance checks enabled, expression
> > templates disabled) and release mode (size conformance checks disabled,
> > expression templates enabled).
>
> Are these separable settings?

Yes. I occasionally need to debug these expression templates ;-(

> I think I'd much prefer using expression
> templates always, even in (otherwise) debug builds...

Why? AFAIK using expression templates in debug builds increases compile
times and object file size (but I'll recheck that).

Regards

Joerg


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk