It says both "make([]T, N) does not escape" and "make([]T, N) escapes to heap" for the slice allocated by g.
On Sunday, May 23, 2021 at 5:05:53 AM UTC-4 Jan Mercl wrote: > On Sun, May 23, 2021 at 11:01 AM tapi...@gmail.com <tapi...@gmail.com> > wrote: > > > And how to interpret the conflicting messages for the following program? > > Please share what conflict and where do you see it. > > I see only different escape/does not escape status for different code > but nothing conflicting. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/7a616c14-eeba-420a-ad51-b229fbd70f27n%40googlegroups.com.