Since with if (value < 0)
I would assume the compiler can just check the sign of the value somehow and remove the branch more easily in assembly than if I use if (valueA < valueB)
Does anyone know how the JVM optimizes these branches and is it worth it to change my if conditionals to < 0?
Its for performance critical code.
Thanks.