lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On 16/03/2014 11:52 AM, Coda Highland wrote:
On Sat, Mar 15, 2014 at 8:41 PM, David Crayford <dcrayford@gmail.com> wrote:
A lot of template functions end up being in-lined, although there are
compiler options to control that.
Only if they're simple enough that the compiler's heuristic thinks it
would benefit from being inlined.

The compiler I use (IBM xlc) is extremely aggressive wrt inlining when optimizing. If you don't hose it down with -qinline=limit=num you end up with big ass binaries!



/s/ Adam