DEV Community

Cover image for C++ Performance Improvement through final devirtualization
Francis
Francis

Posted on

C++ Performance Improvement through final devirtualization

C++, the final keyword proves to be useful in everyday interviews and work scenarios. When asked about final, you can provide the following information:

  • Prevents further inheritance
  • Prohibits virtual function overriding
  • Enables devirtualization for performance improvement
  • Acts as a design constraint, preventing subclass inheritance and avoiding subclass overrides

https://levelup.gitconnected.com/c-performance-improvement-through-final-devirtualization-258e7ae1d2b5

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more