title: How Switch case Statement Implemented or works internally?
body: <p>I read somewhere that the <code>switch</code> statement uses "Binary Search" or some sorting techniques to exactly choose the correct case and this increases its performance compared to else-if ladder. </p>
  
  <p>And also if we give the case in order does the switch work faster? is it so? Can you add your valuable suggestions on this?</p>
  
  <p>We discussed <a href="https://stackoverflow.com/questions/14066120/default-in-switch-case">here</a> about the same and planned to post as a question.</p>