C程序代码优化的探讨  被引量:2

Optimization of C code

在线阅读下载全文

作  者:程永恒[1] 

机构地区:[1]武汉软件工程职业学院,湖北武汉430205

出  处:《武汉船舶职业技术学院学报》2008年第2期39-41,共3页Journal of Wuhan Institute of Shipbuilding Technology

摘  要:不同的层面的程序代码,可以有不同的模块组合方式,把各个模块平均运行次数与模块平均运行时间的卷积做得尽量小是优化的目标,这在数学上是一项复杂的工作。本文通过减少上下文依赖关系,分析静态变量、数据的组织和消除除法等方面探讨了代码的优化。We can have different combinations of modules for the code at different levels. To make the average numbers of running various modules and module average running time of convolution as small as possible is the goal of optimization. This is a complex mathematical work. This talks about the optimization of code from the aspects of reducing dependence context, static variables, data organization and elimination division.

关 键 词:C语言 代码优化 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象