I didn't know it has more levels. thanks On Monday, August 29, 2016 at 6:09:19 PM UTC+3, Sam Whited wrote: > > On Mon, Aug 29, 2016 at 9:40 AM, Ariel Mashraki > <ariel.m...@ironsrc.com <javascript:>> 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.