1. Discuss the following optimization for time in detail including code instrume
ID: 3600832 • Letter: 1
Question
1. Discuss the following optimization for time in detail including code instrumentation to determine bottle necks. Emphasize the organized approach developed in class to prioritize optimization as opposed to special coding tricks. Number each step of the process developed in class as you explain the details and also discuss programming language, operating system/architecture, and compiler specific optimizations for time including pan-caking, normal vs. pathological connections, subscript optimization, loop invariants, folding, etcetera
Explanation / Answer
We should consider optimization process for the time after the completion of system design only ans it should never inFuence the design.Usually it is very easier and to run software faster.When designers are optimizing while they working,maximum of times they prefer local optimization.Typiclly humans contains less capability for to retain the information at one time.So that local optimizations becomes slow and so that overall system will down. Generally after the design completed only it allows global optimization. Global optimization mainly results in greater eficiency gains.Optimization for time requires consistancy of highly cohesive modules with low couplingto.The main points we need to remember is that execution time will not distribute over the code uniformly and these bottle necks finds normally while executing real time data.Suppose if the program does not work Optimization may be irrelevant
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.