in Compiler Design retagged by
1,208 views
1 vote
1 vote

Peer-hole optimization is a form of :

  1. loop optimization

  2. local optimization

  3. constant folding

  4. data flow analysis

in Compiler Design retagged by
1.2k views

1 Answer

1 vote
1 vote
Best answer

Peephole optimization is an optimization technique performed on a small set of compiler-generated instructions; the small set is known as the peephole or window. Peephole optimization involves changing the small set of instructions to an equivalent set that has better performance

It is a form of optimization that is done on a segment of generated code.

It is Local Optimization (b)

Ref: https://gateoverflow.in/55598/isro2016-44

https://en.wikipedia.org/wiki/Peephole_optimization

selected by

Related questions