Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
why need to cal the min path?
83 views
Skip to first unread message
xie cui
unread,
Feb 17, 2021, 8:05:10 AM
2/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
https://github.com/golang/go/blob/master/src/cmd/compile/internal/gc/escape.go#L1138
why we need to cal the min path here?
Ian Lance Taylor
unread,
Feb 17, 2021, 3:26:35 PM
2/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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