Quantcast
Channel: switch/case with string
Viewing all articles
Browse latest Browse all 13

switch/case with string

$
0
0

If you step through your code you will see it is more efficient.

 

instead of forcing the compiler and your run time to compare your string values, the switch case jumps to the correct case...

 

I think this is what you are asking.


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>