Is if( a < 901 ) faster than if( a <= 900 ).
if( a < 901 )
if( a <= 900 )
Not exactly as in this simple example, but there are slight performance changes on loop
Maybe the author of that unnamed book has read that a > 0 runs faster than a >= 1 and thinks that is true universally.
a > 0
a >= 1
But it is because a 0 is involved (because CMP can, depending on the architecture, replaced e.g. with OR) and not because of the <.
0
CMP
OR
<