4 ms·
What you meant is `while !max || max < i`, but the answer is the same: the former will perform better because it only makes one comparison for each iteration of
by nilved 13y ago
What you meant is `while !max || max < i`, but the answer is the same: the former will perform better because it only makes one comparison for each iteration of the loop. The latter needs to additionally check the existence of max.