Forum Discussion
Colin_Walker_12
Mar 31, 2011Historic F5 Account
And the gains only get bigger and more stark the deeper into the construct the match occurs. For instance, a switch with 500 entries is slightly slower than a class when the match is the 5th or 10th item in the switch. When it's the 498th, the difference is even more apparent. This goes double for things like if/else chains.
Colin