When having the "last word" makes stuff go faster...
Using final in C++ to improve performance
by Niall Cooling
From the article:
The
final
specifier was introduced in C++11 to ensure that either a class or a virtual function cannot be further overridden. However, as we shall investigate, this also allows them to perform an optimization known as devirtualization, improving runtime performance.
Add a Comment
Comments are closed.