Re: [go-nuts] Re: escape analysis question

2020-03-05 Thread Ethan Burns
Thanks. I'll give that doc a read. Just to make sure, I noticed that the doc is dated 2015, but the escape analysis implementation seemed to change just recently from that implemented in esc.go to a new one in escape.go. Dose the doc still apply to the new implementation? On Thu, Mar 5, 2020 at 4:

Re: [go-nuts] Re: escape analysis question

2020-03-04 Thread Ethan Burns
Thanks for looking into it and simplifying the example! Just to explain, I added the call to nothing(), because I was worried that otherwise the result would be recognized as unused and the entire code would be optimized away. Good to know it's not relevant to reproduce. Thanks again. On Wed, Mar