Simple test of vtable / dynamic_cast lookup times in C++