3 ms·
Then the code is functionally equivalent, but the first version is much more readable. As pointed out on the parent comment, the first version does one test les
by Xylakant 13y ago
Then the code is functionally equivalent, but the first version is much more readable. As pointed out on the parent comment, the first version does one test less, a minor performance benefit.