On Mon, Mar 20, 2023 at 9:17 AM cheng dong <qq451954...@gmail.com> wrote:
>
> i see golang source ssa guess BranchLikely/BranchUnLikely, however we could 
> not tell golang whether if is likely or unlikely. and looks the guess logic 
> might be far away from real condition

We don't want to complicate the language.  Also, surprisingly,
experience shows that programmers are often mistaken as to whether
branches are likely or not.  Instead, we are investigating
profile-guided optimization to make those choices.  See
https://go.dev/blog/pgo-preview.

Ian

-- 
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/CAOyqgcWZT5CdAqd5G3%3D28BizFy5_qTqzhg3KLvzaOekyGsmS0A%40mail.gmail.com.

Reply via email to