News for hackers. Stuff that matters.
Re:The Performance Impact of C++'s `final` Keyword by pixelpoet on Tuesday April 23, 2024 @12:45PM (#40133999)
Vfuncs are only fast when they can be predicted: https://forwardscattering.org/post/28
Re:The Performance Impact of C++'s `final` Keyword by mgaunard on Tuesday April 23, 2024 @04:52PM (#40137113)
Same as any other branch. They're fast if predicted correctly and slow if not.

If they cannot be predicted, write your code accordingly.