Bruno Lalande | 21 May 01:11
Picon

Re: [math] pow redux and observations

> Right, and it also reduces the number of template instantiations needed?

Yep, it instantiates almost half the number of templates instantiated
by the first implementation.

About inlining considerations: I don't think that the compiler cares
about the deepness of function calls it has to inline. I see
optimization and inlining as a recursive algorithm that does its job
exactly the same way however deep you are. But I'm not a compiler
expert...

Anyway your solution is really good and I'll sure use it in the next
implementation. Thanks!

Bruno
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane