4 ms·
That example has a boolean operator in it, so in a strict language will already be a boolean. A better example would be one that returned 0, so you’d have to a
by sitharus 9y ago
That example has a boolean operator in it, so in a strict language will already be a boolean.
A better example would be one that returned 0, so you’d have to add `== 0` to it.
I kind of understand your point with asm, but with higher level languages we’re optimising for maintenance rather than performance.