title: Switch statement with huge number of cases
body: <p>What happens if the <code>switch</code> has more than 5000 <code>case</code>. What are the drawbacks and how we can replace it with something faster?</p>
  
  <p>Note: I am not expecting to use array to store cases as it's the same.</p>