r/cpp • • May 26 '22

Dynamic polymorphism performance

https://thecppdev.com/2022/05/26/dynamic-polymorphism-performance/?amp=1
2 Upvotes

15 comments sorted by

View all comments

1

u/Jannik2099 May 27 '22

Repeated vcalls are cached by the cpu. It's not like we have to wait on two loads every single time.