The study of methods of optimization of the program code at the cost of CPU презентация

Process optimization code
 Optimization - a transformation in which the resultConstant folding («свертывание констант»)Common Sub-Expression Elimination (CSE) (Устранение общих подвыражений) 
 This optimization isPerforming arithmetic operations on variables of different types
 Comparison of executionFill the arrayBranching statements
 The aim of the study was to verify the



Слайды и текст этой презентации
Слайд 1
Описание слайда:


Слайд 2
Описание слайда:
Process optimization code Optimization - a transformation in which the result of the system remains unchanged, but improve some of its characteristics. The most common goals of optimization when developing the code: reduce the execution time of programs, improve performance, compactification of code, memory consumption, minimizing energy consumption, reducing the number of input / output.

Слайд 3
Описание слайда:
Constant folding («свертывание констант»)

Слайд 4
Описание слайда:
Common Sub-Expression Elimination (CSE) (Устранение общих подвыражений) This optimization is the following: if you use the calculation of any expression two or more times, it can be calculated once and then to substitute all uses of its expression.

Слайд 5
Описание слайда:
Performing arithmetic operations on variables of different types Comparison of execution time of commands s = a*0.5 and s = a/2 The aim of the study was to determine which of the basic arithmetic operations on variables of different types are faster. Also need to find out how the performance of an operation depends on the type of the operands.

Слайд 6
Описание слайда:
Fill the array

Слайд 7
Описание слайда:
Branching statements The aim of the study was to verify the herniation of the choice of branching statements (If-then-else statement and multiple-choice Case) on the speed of the program.


Скачать презентацию на тему The study of methods of optimization of the program code at the cost of CPU можно ниже:

Похожие презентации