Now that the Flash Player 10.1 testing is through I can return to a comment asking about the performance difference between if-else
chains and the ternary (? :
) operator. Further, I’ll discuss switch
statements to see if there is any difference in performance for these commonly-used methods of flow control.
Posts Tagged if
This article is sort of a follow-up to my article on Flexible Loop Syntax. This was reported to my by a coworker who spotted the anomaly. I guess he had done with if the same sort of thing that I had done with for. Read on for a little insight into how the comma operator interacts with the if statement.