I googled this and could not find an answer. I know that the
gcc-specific keywords "likely" and "unlikely" can be useful in 'if' conditions
if (unlikely(i < 0))
// action
but can they be used in a 'while' loop?
while (likely(i > 0))
// action
I googled this and could not find an answer. I know that the
gcc-specific keywords "likely" and "unlikely" can be useful in 'if'
conditions
if (unlikely(i < 0))
// action
but can they be used in a 'while' loop?
while (likely(i > 0))
// action
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:47:46 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,714 |