News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code by jimmaswell on Friday September 26, 2014 @05:21PM (#8374947)
if certain functions are only called within one other function, couldn't the compiler automatically inline them to get rid of the method call overhead, as long as they're not externs?
Re:John Carmack on Inlined Code by rrradical on Friday September 26, 2014 @05:28PM (#8374987)
His comments are on style, not performance. "In no way, shape, or form am I making a case that avoiding function calls alone directly helps performance." Although he does argue that this style indirectly leads to better performing code.