Boost logo

Boost Users :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-07-02 10:53:20


At 09:08 AM 7/2/2003, Marco Segurini wrote:
>"Darren Cook" <darren_at_[hidden]> ha scritto nel messaggio
>news:3F028EC9.8020208_at_dcook.org...
>> > ... the output (using vc++ in release mode with no optimization) is
>> >
>> > Multi_array: 1663
>> > Pointer....:70
>>
>> I've nothing helpful to say about multi_array, but how do the timings
>> compare when you use the maximum speed optimizations? Much STL/Boost
code
>is
>> written on the assumption that lots of things will be optimized away.
>>
>> Darren
>>
>
>I make a test setting vc++ 7.1 with "Maximize Speed /O2" optimization
with
>these results:
>
> Multi_array: 471
> Pointer....:0
>
>so the difference persists.

That seems beyond what might be expected from an abstraction penalty. Have
you looked at the code being generated to see where the added time is
coming from?

--Beman


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