|
Boost : |
Subject: Re: [boost] BOOST_FOREACH slow?
From: Eric Niebler (eric_at_[hidden])
Date: 2008-11-17 16:10:51
David Abrahams wrote:
> on Mon Nov 17 2008, Eric Niebler <eric-AT-boost-consulting.com> wrote:
>>
>> During FOEACH's review, extensive performance tests showed FOREACH was
>> only about 5% slower than the hand-coded equivalent on average.
>
> Just curious: you didn't compare with std::for_each (e.g. to see the
> effects of loop unrolling), did you?
I didn't do the benchmark myself, and I don't remember if std::for_each
was part of it, sorry.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk