why need to cal the min path?

83 views
Skip to first unread message

xie cui

unread,
Feb 17, 2021, 8:05:10 AM2/17/21
to golang-nuts

Ian Lance Taylor

unread,
Feb 17, 2021, 3:26:35 PM2/17/21
to xie cui, golang-nuts
On Wed, Feb 17, 2021 at 5:05 AM xie cui <cuiw...@gmail.com> wrote:
>
> https://github.com/golang/go/blob/master/src/cmd/compile/internal/gc/escape.go#L1138
> why we need to cal the min path here?

That code is gone now anyhow.

I don't think the code had to compute the minimal number. I think
that just helps keep the algorithm running more quickly. But I may be
mistaken about that.

Ian
Reply all
Reply to author
Forward
0 new messages