Tags: #devirtualization
"Devirtualization happens when the compiler can statically decide, at compile time, which function should be called, so it can produce a direct call to that function, or even inline it."
http://marcofoco.com/?p=153
"Devirtualization happens when the compiler can statically decide, at compile time, which function should be called, so it can produce a direct call to that function, or even inline it."
http://marcofoco.com/?p=153
C++ explained to my dog
The power of devirtualization
As stated in a previous post, final keyword enables the sealing of classes and methods. This is important because it allows interesting compile-time checks, but also enables quite a powerful optimi…