如果switch超过5000,会发生什么case.有什么缺点以及如何用更快的东西替换它?
switch
case
注意:我不希望使用数组来存储案例,因为它是相同的.
c c++ switch-statement
c ×1
c++ ×1
switch-statement ×1