On Mon, Aug 29, 2016 at 9:40 AM, Ariel Mashraki
<ariel.mashr...@ironsrc.com> wrote:
> Can someone please explain why doesn't the f2 function get inlined ?

If you build with m=2 (go build -gcflags -m=2) it will spit out a reason:

> cannot inline f2: unhandled op for

(closures with "for" in them apparently can't be inlined)

—Sam



-- 
Sam Whited
pub 4096R/54083AE104EA7AD3

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to