Boost logo

Boost :

Subject: Re: [boost] [GGL] [geometry] Inexplicable speed benefit when using Visual C++ 2010
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2010-04-16 12:04:33


On Fri, Apr 16, 2010 at 2:30 PM, Christian Buchner
<christian.buchner_at_[hidden]> wrote:
[...]
> Would anyone with knowledge of compiler and runtime internals be able
> to make an educated guess as to how such a speed gain of factor 10 is
> possible? Is anyone else seeing similar speedups in boost or in the
> geometry library when compiling with Visual C++ 2010 RC (HINT: it's a
> free download, so anyone can try it out until end of June 2010).
>

VC++ 2010 now has the iterator checking disabled by default; It is
probably unlikely that you were unknowingly running with checking
enabled, but that would easily explain the speedup.

HTH,

-- 
gpd

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