
9 Sep
2006
9 Sep
'06
8:40 a.m.
"David Abrahams" <dave@boost-consulting.com> wrote in message news:873bb4eg6y.fsf@pereiro.peloton...
"Andy Little" <andy@servocomm.freeserve.co.uk> writes:
So all in all I reckon Boost.Fusion is quite cool :-). Of course it is probably not as good performance wise,
I don't know why you say "of course." Just as STL iteration can be faster than a hand-coded loop, in MPL we did several things that can make it quite a bit faster to use the high-level abstractions than to do the naive hand-coded version. The same thing could be true of Fusion.
Looking at the assembler output from my quan::fusion::dot_product function when optimised in VC8, it looks like the optimisation is near perfect FWIW. I love fusion ! regards Andy Little