Switch optimization for many cases guarantees equal access time for any case? ( C++ )

前端 未结 6 1352
礼貌的吻别
礼貌的吻别 2020-12-31 19:29

I\'ve seen answers here for specific languages, about switches with more than 5 cases being optimized with jump tables to guarantee constant access time for any case.
Is

6条回答
提交回复
热议问题