|
Boost : |
Subject: Re: [boost] [accumulator][minmax_element] Perfomance comparsion different min max algorithm
From: Hansi (hansipet_at_[hidden])
Date: 2009-02-17 10:44:58
>
>> May be it helps when I post the command line parameters:
>> Compiler settings:
>> /GL /D "WIN32" /D "_CONSOLE" /D "_SECURE_SCL=0" /D "NDEBUG=1" /D
>> "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Yu"stdafx.h"
>> /Fp"Release\Statistic.pch" /Fo"Release\\" /Fd"Release\vc90.pdb" /W3
>> /nologo /c /Zi /TP /errorReport:prompt
>
> You seem to be missing any optimization options. I suggest turning on
> /O2, which should make a huge difference to your results.
>
for some reason Visual studio has displayed to me full
optimizations.....but it was not in reality. I had to change it and
change it back and then I head it really...
min_element,max_element:238
minVal=0,maxVal=99999999
min_max: accumulator:149
minVal=0,maxVal=99999999
min_max: minmax_element:144
minVal=0,maxVal=99999999
min/max handcoded:228
minVal=0,maxVal=99999999
now much more as expected...
Regards
Hansjörg
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk