0
15kviews
Explain different Code optimization techniques along with an example

Mumbai University > Computer > Sem 6 > System Programming and Compiler Construction

Marks: 10

Year:May 16

1 Answer
4
546views

It is used so that code can be executed in faster manner

enter image description here

Function Preserving

1.Common Subexpression elimination

2.Constant Floding

3.Copy Propogation

4.Dead Code Elimination

Loop Optimization

1.Code Motion

2.Strength Reduction

3.Frequency reduction

4.Loop Distribution

Branch optimization

Rearranges the program code to minimize branching logic and to combine physically separate blocks …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.