r/cpp • • Apr 23 '26

Devirtualization and Static Polymorphism

https://david.alvarezrosa.com/posts/devirtualization-and-static-polymorphism/
81 Upvotes

36 comments sorted by

View all comments

Show parent comment

7

u/Creator13 Apr 23 '26

But the performance implications of vtables are not common knowledge for every programmer ever either. Hell, even knowing about cache locality, prefetching, or pointer indirection are pretty obscure details if you come from, say, python.