Like, lets say I wanted to check something every time I moved.
Move()
if(variable) variable2 = 1
Now, obviously that would be fine, but if I had 8 variables or even, say 80 to check, would that slow the code down? Also, does the validity of the statement matter? If the statement is false, will it slow the code down (and movement in general) or only if its true?
(This seems pointless, but I'm making the kinda game that might need several such checks)
Infinite loops in the other hand...
If you are hung up about how long a process takes, try using Profile (under the Server menu of Options and Messages)