Machine-translated by Google. Questions are authored in English.
Top

Discussion

State whether the following is true or false.
An optimisation that never helps any program is still worth including if it never hurts.

  • A.True
  • B.False
  • C.True only at large scales
  • D.False only at small scales

Answer: B

Every pass costs compilation time and adds code that can contain defects. A transformation must earn its place by improving some realistic class of programs. Optimisers accumulate passes easily and shed them only with difficulty.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.