6 ms·
Why does it matter, though? This macro just tells the compiler how to compile the branch, right?
by twic 4y ago
Why does it matter, though? This macro just tells the compiler how to compile the branch, right?
- dzaima 4y ago__builtin_expect_with_probability knows nothing about booleans or branches. It assigns a probability for the first and second argument being equal, but 2!=1 while 2 is truthy.