类在不必要的时候不要包含虚方法。
Classes do not contain virtual methods when they are not needed.
同样,我们的实现覆盖了其中一些do_foo虚方法。
Likewise, our implementation overrides some of these virtual do_foo methods.
把虚方法调用转换成直接方法调用,叫做单形monomorphic调用变换。
Converting a virtual method call to a direct method call is called monomorphic call transformation.
应用推荐