Write short note on code optimization, Computer Engineering

Assignment Help:

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.


Related Discussions:- Write short note on code optimization

What are different types of log records, What are different types of Log re...

What are different types of Log records? V1 and V2.  V1 must be processed before V2.  But, we can have more than single V2 logs

Dynamic partitioning - computer architecture, Dynamic partitioning: To...

Dynamic partitioning: To rise above from difficulties with fixed partitioning, partitioning can be done dynamically, which called dynamic partitioning. Having it, the primary

Mpi, write an8086 alp to exchange a block of N bytes of data between sourc...

write an8086 alp to exchange a block of N bytes of data between source and destination

Characteristics of magnetic disk, Q. Characteristics of Magnetic disk? ...

Q. Characteristics of Magnetic disk? Tracks and Sectors: Disk is divided in concentric rings known as tracks. Thus a track is one complete rotation of disk underneath read/wr

What is virtual memeory, What is virtual memory? How address mapping is don...

What is virtual memory? How address mapping is done in cache memory? Elaborate your answer with examples.

Write the command to show the ip host table, show hosts is the command whi...

show hosts is the command which display the IP host table

Operation research, how to implement a modified distribution method using c...

how to implement a modified distribution method using c/c++

What is an assembly language, An assembly language is a? Ans. Low level...

An assembly language is a? Ans. Low level programming language is an assembly language.

Explain arithmetic data processing instructions, Q. Explain Arithmetic Data...

Q. Explain Arithmetic Data Processing Instructions? These instructions carry outlogical and arithmetic operations on data. Arithmetic: The four fundamental operations are

Priority interrupt and synchronous bus, What is a Priority Interrupt? A...

What is a Priority Interrupt? Ans: A priority interrupt is a type of interrupt that establishes a priority over the many sources to determine which condition is to be serviced

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd