3 ms·
If Go does have some kind of "__builtin_expect" equivalent, I can't find it. I'd say it probably doesn't exist. Even if it _did_ exist, the Go compiler authors
by gnum4n 5y ago
If Go does have some kind of "__builtin_expect" equivalent, I can't find it.
I'd say it probably doesn't exist. Even if it _did_ exist, the Go compiler authors would reserve it for internal use only, like they do with most other Go compiler directives.