Is < faster than <=? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 7

Is < faster than <=?

faster than <=

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