21 May 01:11
Re: [math] pow redux and observations
Bruno Lalande <bruno.lalande <at> gmail.com>
2008-05-20 23:11:40 GMT
2008-05-20 23:11:40 GMT
> 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
RSS Feed