Re:The Performance Impact of C++'s `final` Keyword
by saagarjha on Tuesday April 23, 2024 @06:03AM
(#40130238)
In C++ virtual functions are polymorphic and indirected, with the target not known to the compiler. Devirtualization gives the compiler this information (in this case a final method cannot be overridden and branch to something else).
[ Parent
| on HN ]
There are no comments on this comment yet.