Re: [go-nuts] Inlining local functions

2016-12-02 Thread Ian Lance Taylor
On Fri, Dec 2, 2016 at 2:55 AM, wrote: > Is there a summary somewhere of the general rules determining when > do functions get inlined? > > Specifically, it should always be a good decision to inline a > function that is only called from one place in the code (that is, a > non-reused function). D

[go-nuts] Inlining local functions

2016-12-02 Thread nsajko
Is there a summary somewhere of the general rules determining when do functions get inlined? Specifically, it should always be a good decision to inline a function that is only called from one place in the code (that is, a non-reused function). Do such (at least non-exported ones) functions get in