Quote:
Originally Posted by Gunderak
The slightest inconsistency could render the results useless.
|
Which is why I said that such a small difference is totally negligible and that the only factors you should take into account when choosing between a switch statement and an if-statement are things like code maintainability and readability. Neither an if-statement nor a switch statement are going to be your bottleneck.