< vs <=
EVM has less than (LT), and greater than (GT) opcodes,
But no
>=
or<=
opcodesSo less/greater than will be synthesized with the available opcodes, instead of a single opcode
This increases gas costs
EVM process
x <=2
as!(2 < x)
Last updated