2078 11

CSC376 · 2078 · 5 marks

What is the advantages of code optimization? Explain about dead-code elimination.

What is the advantages of code optimization? Explain about dead-code elimination. [5]

Compiler Design and ConstructionChapter 4: Intermediate Code Generation, Code Generation and OptimizationCode Optimization

--- Code optimization is the process of improving intermediate code so that the output program runs faster and takes less memory space. Its main advantages are: 1. Improved Execution Speed: It arranges the sequence of statements in order to speed up program execution without wasting resources. 2....