I wonder if there is a difference in performance between
checking if a value is greater / smaller than another
for(int x = 0; x <
You should still do what is clearer, safer and easier to understand. These micro-tuning discussions are usually a waste of your time because
Note: the machine generated can also change with processor or JVM, so looking this is not very helpful in most cases, even if you are very familiar with assembly code.
What is much, much more important is the maintainability of the software.