Does using switch cases instead of else ifs make a noticeable difference in performance?