What are you trying to accomplish? It's hard to give advice when I don't know what the goal is.
As a rough guess, I would advise putting the most common situations at the top of the IF stack. That way the computer doesn't have to evaluate rare conditions every time you call the function in order to get to the common ones.
As a rough guess, I would advise putting the most common situations at the top of the IF stack. That way the computer doesn't have to evaluate rare conditions every time you call the function in order to get to the common ones.