哪种 switch 语句产生效率最低的机器代码?
我在一项测试中遇到了一个问题,要求我回答哪种 switch 语句会产生效率最低的机器代码。可能的答案是 O4、O1、O2 或 O3。我根本不知道这些是什么意思。
I've got a question in one of my tests that asked me to answer what switch statement produce the least efficient machine code. The possible answers were O4, O1, O2, or O3. I don't event know what those are supposed to mean.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
GCC 控制优化的选项
GCC Options That Control Optimization