write short note on code optimizationcode


Write short note on code optimization.

Code optimization: It is the optional phase designed to enhance the intermediate code therefore the Ultimate object program runs quicker or takes less space. It in compilers aims at enhancing the execution efficiency of a program through eliminating redundancies and through rearranging the computations into the program without influencing the real meaning of the program.

Scope - Very first optimization seeks to enhance a program rather than the algorithm utilized in the program. Therefore replacement of algorithm through a more efficient algorithm is beyond the scope of optimization. As well efficient code generation for an exact target machine also lies outside its scope.

The structure of program and the way in that data is defined and used in this provide vital clues for optimization.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write short note on code optimizationcode
Reference No:- TGS0277286

Expected delivery within 24 Hours