Рет қаралды 3,611
In this video we go over runtime, virtual function based polymorphism, and then we look at how we can achieve polymorphic code using compile-time methods while avoiding any performance penalties due to virtual function dispatch.
The method presented here may be helpful when trying to optimize a game/engine main-loop, avoiding indirection due to virtual calls.