Is < faster than <=?
Asked 07 September, 2021
Viewed 658 times
  • 62
Votes

Is if (a < 901) faster than if (a <= 900)?

Not exactly as in this simple example, but there are slight performance changes on loop complex code. I suppose this has to do something with generated machine code in case it's even true.

14 Answer