Quote Originally Posted by laserlight View Post
Move the expression into a function, then call that function in the if statement. It is not an optimisation, but a refactoring of code to make it more readable.
i got no idea about functions xD