Is < faster than <=? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 7

Is < faster than <=?

faster than <=

21st Sep 2017, 6:16 PM
Mohammad Selim
Mohammad Selim - avatar
2 Réponses
+ 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