Thanks for the answer :o) On Wednesday, Jun 11, 2003, at 22:48 Europe/London, jhr.walter@t-online.de wrote:
You've read the documentation's remarks about abstraction penalty, haven't you?
Yes, I did, I even read Vandervoorde and Josuttis "C++ templates" (though I havent grasped all the concepts yet ;o) )
Are the results specific to this test?
In a certain sense.
What I meant was "are the results not that good because of any of the functions I am using (element_prod in particular, since its quite new)?" But I've got my answer, thanks! I didnt think the optimizer would do such a "bad" job for such a small formula. Lets hope gcc catch up quickly! Sorry, I forgot to mention my config: gcc 3.1, OSX and G3 800 (definitely not as fast as yours!!) Thanks again Alexis [Non-text portions of this message have been removed]