-
https://zhuanlan.zhihu.com/p/256202496 |
Beta Was this translation helpful? Give feedback.
Answered by
Mq-b
Jan 1, 2024
Replies: 2 comments 3 replies
-
你是不是不知道怎么用 Discussions。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
直接讨论那所谓的结论吧:
我觉得b乎那位根本不懂 他应该要表达的是内联优化,但是非要强调 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这种词语都是描述的语言层面的意思(当然了这个运行时也莫名),编译器懂的多了去了,别说内联了,编译期直接算出结果都可以,但是这不是语言层面的事情,这些话一堆人分不清。
开个优化,随便都是直接出虚函数运行结果。