HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by steilpass | Hacker News Reader
Parent
Full thread
steilpass
·
So what does likely() do?
View on HN
unlink
·
Presumably it is defined to __builtin_expect(x, 1)[0], a hint to gcc that one branch (in this case the first) of the if is more likely.
[0]
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
termie
·
macro for gcc __builtin_expect?
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Reply on news.ycombinator.com