On 1/5/2012 3:58 AM, Manu wrote: > How is this possible, when all functions are virtual, without whole program > optimisation? Only public non-final class member functions are virtual. Furthermore, as in C++, the compiler can sometimes determine that a virtual function is being called directly, and will do so (or inline it).