Is < faster than <=? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Is < faster than <=?

faster than <=

21st Sep 2017, 6:16 PM
Mohammad Selim
Mohammad Selim - avatar
2 Answers
+ 11
Depends on the underlaying instruction set. It can be, but some processors support single instruction to test <=.
21st Sep 2017, 6:20 PM
John Wells
John Wells - avatar
+ 1
< i think because <= include the highest value
22nd Sep 2017, 6:45 PM
New Coder
New Coder - avatar