Re:Which is faster? while(1) {} or while(2) {}
by kevin_thibedeau on Monday July 21, 2014 @10:28AM
(#8063816)
while() doesn't cast to bool in C. It compares to integer 0 which will become an unconditional jump after optimization.
[ Parent
| on HN ]
There are no comments on this comment yet.