Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Quantitative Finance · Glosarium

Apa itu Dynamic dispatch, devirtualisation?

Dikenal juga sebagai: dynamic dispatch · devirtualisation

Definition 7.1 Low-Latency Software · Bab 7 — C++ for Latency II: Compile Time

In dynamic dispatch the function called depends on the run-time type of an object: a C++ virtual call loads the object’s table of function pointers and calls through it, an indirect call. Devirtualisation is the compiler’s replacement of such a call by a direct one, when it can prove the object’s type (a final class, a local object, whole-program analysis).

Baca dalam konteks →