2080 8

Compiler Design and Construction20805 marksCode Optimization

Why code optimization is needed? Describe any two techniques for loop optimization.

Why code optimization is needed? Describe any two techniques for loop optimization. [5]

Code optimization is the process of transforming a program to make it more efficient without changing its output or meaning. It is needed because: - Reduces space and increases speed: Optimization reduces the memory consumed by the program and increases the execution speed of the compiled code. -...

Up nextWhat is three-address code? How high level code is converted to three address code? Illust