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

Discussion

Link time optimisation exists in order to

  • A.optimise across module boundaries after separate compilation
  • B.reduce the time the linker takes to combine all of the modules
  • C.remove the need for the compiler to optimise at all
  • D.resolve the external references between object files

Answer: A

Deferring some optimisation until every module is present restores the whole program view that separate compilation gives up. The cost is a much slower link step. Large projects often reserve it for release builds only.

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

Post your comment

Please log in or register to post a comment.