On 2013-09-10 06:02, Jonathan M Davis wrote:

The compiler should definitely be able to look at non-templated functions and
inline them where appropriate. I expect that it will really hurt performance
in general if it doesn't - especially with stuff like getters or setters. I
don't know what the best way would be for the compiler to go about doing that
and have no idea how the inliner currently works, but I don't think that
there's any question that it needs to.

I agree.

--
/Jacob Carlborg

Reply via email to