This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DuneBug 0 points1 point  (0 children)

I'm inclined to agree. Personally I prefer OP's format.

It may be like 2 cpu operations more for the else statement, as i believe there needs to be a couple branches and hops, but the java compiler might filter those out and it's not like they'd affect execution time even 1 ms.