Quote:
Originally Posted by Tolnaftate2004
In all technicality, example 2 is the most efficient in that it is not evaluating everything that is passed from ChatBar.
|
When you think about it, it's very similar to if/else. Starts at the first case and checks. If it's the case, it performs it then ends the whole script. If not, goes down. Once it meets it's case, doesn't have to evaluate any others.For the serverside part, it's just reading the case "example": but i'm not even sure if it's doing that =p