Boost logo

Boost Users :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2007-11-27 10:41:58


On 26/11/2007, Bryan Green <bgreen_at_[hidden]> wrote:
> I'm forced to take boost::array out of my computation's inner loop.
> Is this a previously known issue? Any ideas why this performance
> discrepancy might exist?
>

I know that boost::array asserts that the index is in-range when using
operator[] (as it's caught a few bugs for me), but that's an overhead
that -O3 isn't going to eliminate. As KSpam mentioned, try with
-DNDEBUG as well.

~ Scott

--
Sed quis custodiet ipsos custodes?

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net