所谓代码优化是指对程序代码进行等价(指不改变程序的运行结果)变换。程序代码可以是中间代码(如四元式代码),也可以是目标代码。等价的含义是使得变换后的代码运行结果与变换前代码运行结果相同。优化的含义是最终生成的目标代码短(运行时间更短、占用空间更小),时空效率优化。原则上,优化可以在编译的各个阶段进行,但最主要的一类是对中间代码进行优化,这类优化不依赖于具体的计算机。 在不改变程序运行效果的前提下,对被编译的程序进行等价变换,使之能生成更加高效的目标代码。
... 第十一章 代 码 优 化 概述 概述 优化的例子 优化的例子 基本块的优化 基本块的优化 循环优化 循环优化北京航空航天大学计算机学院11.1概述代码优化(code optimization)指编译程序为了生成高质量的目标程序而做的 各种加工和处理.
基于380个网页-相关网页
代码优化(Optimization of code): 为了使生成的目标代码更为高效,可以对产生的中间代码进行变换或进行改造,这就是代码的优化。
基于36个网页-相关网页
9.中间代码优化(Intermediate Code Optimization)所谓代码优化,实质上是对代码进行等价变换,使得变换后的代码运行结果与变换前代码运行结果相同,而运行速度加大或占用存储...
基于12个网页-相关网页
...目标跟踪 DM642 代码优化 [gap=982]Key words:PPM; posterior probability; real-time target tracking; DM642; code optimizing ...
基于6个网页-相关网页
The paper expounds selection of programmable language in embedded system and code optimization method from characteristics of embedded system.
从嵌入式系统的特点出发 ,阐述了嵌入式系统编程语言的选择以及代码优化的方法。
参考来源 - 嵌入式系统编程中的代码优化The process of intermediate code optimizing encompasses nonloop and loop optimizing.
中间代码优化过程包含非循环优化和循环优化两个部分。
参考来源 - 基于GCC的中间代码优化技术研究Through morphology, grammar, and semantics analysis, grammar trees and symbol tables are formed and intermediate code in C language are finally produced after code optimization. The final executable test control data (ETCD) can be obtained via C compiler.
现有TTCN-3编译程序中所采用的“单遍”或“多遍”扫描方式,本论文介绍的SC-Netcom TTCN-3 Compiler选择了繁简适中的两遍扫描方式,经过词法、语法和语义分析,形成语法树和符号表,再经代码优化最终生成可执行测试控制数据ETCD。
参考来源 - 双端口测试器的可执行测试例生成系统研究与开发·2,447,543篇论文数据,部分数据来源于NoteExpress
ClearCase远程客户端代码优化。
全书共43节课,涉及编码句法指导和代码优化。
There are 43 lessons, covering everything from syntax to coding guidelines and code optimization.
与另外购买硬件的花费相比,代码优化可能是相当昂贵的。
Tuning code can be quite expensive when compared against the cost of purchasing additional hardware.
And the second thing that we talked about is this idea that we want you to in fact learn how to relate a choice you make about a piece of code to what the efficiency is going to be.
关于这个方法第二件事,就是我们实际上希望,你在写代码的时候,能做出优化效率的选择,因为此。
I want to talk a little bit about how you use the things we've been building in terms of functions to help you structure and organize your code.
第一件事情就是我要谈下,怎么利用我们,所做的能在方法方面,帮助你们组织和优化代码。
应用推荐