At 09:08 AM 7/2/2003, Marco Segurini wrote:
"Darren Cook"
ha scritto nel messaggio news:3F028EC9.8020208@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