Рет қаралды 166,450
In this video, we will discuss about the Code Optimization Techniques in Compiler Design.
What is Code Optimization ?
---------------------------------------------
Code Optimization is a technique which tries to improve the code by eliminating unnecessary code lines and arranging the statements in such a sequence that speed up the program execution without wasting the resources.
Various Code Optimization Techniques:
---------------------------------------------------------------
1. Compile Time Evaluation
a) Constant Folding
b) Constant Propagation
2. Common sub-expression elimination
3. Code Movement
4. Dead Code Elimination
5. Strength Reduction
For details, please watch the video.
Get these handwritten notes from website here-
www.gatevidyal...
Click here to get notes-
www.gatevidyal...
Syntax Trees is an important topic for semester examination as well as competitive examinations like GATE, NET etc.
Watch the complete Compiler Design Tutorials here-
• Syntax Trees in Compil...
Follow us on-
LearnVidFun Facebook : / learnvidfun
Gate Vidyalay Facebook : / gatevidyalay
Gate Vidyalay Website : www.gatevidyal...
For any doubts/ queries, please comment below...
Please...Like, share and comment if you really gained something from this video and don't forget to subscribe yourself for getting the latest updates!
Your support really encourages us to do better....Thank you!! :)