prb-math
prb-math copied to clipboard
Investigate whether it's worth it to use ">" instead of ">="
As @nonergodic has explained in this comment, it might be more gas efficient to replace all the >= CONSTANT statements with > CONSTANT-1.
My only reservation is that this might not longer be relevant if I use intermediate representation to compile the contracts. That is, >= should be as gas efficient as >.