Refactor conditionals into polymorphism: what's the performance cost of introducing virtual calls? | IEEE Conference Publication | IEEE Xplore