里面很多术语部明白。
The Code Optimization settings enable an aggregate set of compiler options.
Default = None
None turns off all code optimizations. This is normally the best optimization to use when you are developing and debugging your application-the debugger will not skip around due to code that has been 뱋ptimized away?by the compiler.
Speed sets the following compiler switches designed to optimize your code for speed:
Inline intrinsic functions, which generates the code for common memory functions like strcpy() within the calling function뭩 scope, eliminating the need for a separate function call. The resulting code executes faster, but is larger.
(-Oi command-line switch)
Induction variables, which optimize code containing loops
(-Ov command-line switch)
Optimize common subexpressions, which eliminates duplicating common subexpressions within an entire function. This eliminates duplicate expressions throughout the target scope and stores the calculated value of those expressions once (instead of recalculating the expression).
(-Oi command-line switch)
Although this optimization could theoretically reduce code size, it optimizes for speed and rarely results in size reductions. Use this option if you prefer to reuse expressions rather than create explicit stack locations for them.
Selected allows you to select one or more of the speed optimizations and to enable Pentium scheduling. Select the Selected radio button and then click on the Optimizations button to display the Optimizations dialog box.
C++ Builder 里的说明,Project里的Compiler里的Code Optimization。是啥意思?
答案:2 悬赏:10 手机版
解决时间 2021-03-31 17:15
- 提问者网友:眉目添风霜
- 2021-03-31 05:42
最佳答案
- 五星知识达人网友:woshuo
- 2020-07-16 18:58
一些代码优化的选项,一般不用修改,只有特殊要求下才需要你指定优化选项
全部回答
- 1楼网友:胯下狙击手
- 2020-09-24 09:55
同问。。。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯