3 ms·
No, they are intended for helping with performance (letting the compiler know which branch of execution should it make the "default" for the CPU). But see "Don
by nsajko 6y ago
No, they are intended for helping with performance (letting the compiler know which branch of execution should it make the "default" for the CPU).
But see "Don’t use the [[likely]] or [[unlikely]] attributes": https://blog.aaronballman.com/2020/08/dont-use-the-likely-or-unlikely-attributes/ https://blog.aaronballman.com/2020/08/dont-use-the-likely-or...