Good Practices in Java - Performance and Iterations