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).
书籍暂未推出简体中文版——当前显示英文版。
Quantitative Finance · 术语表
什么是 Dynamic dispatch, devirtualisation?
又称: dynamic dispatch · devirtualisation