3 ms·
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
by jimmaswell 12y ago
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?
- rrradical 12y agoHis 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.