Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Link-time optimisation?

Definition 8.5 Low-Latency Software · Capítulo 8 — C++ for Latency III: The Compiler

In link-time optimisation (LTO) the compiler stores its intermediate representation in the object files and optimises the whole program again when linking, as if all translation units were one: functions can be inlined across files.

Profile-guided optimisation builds twice around a training run, whose workload decides what the compiler optimises for; link-time optimisation defers the optimisation of the whole program to the link.
Figure 8.2. Profile-guided optimisation builds twice around a training run, whose workload decides what the compiler optimises for; link-time optimisation defers the optimisation of the whole program to the link.
Ler no capítulo →