News for hackers. Stuff that matters.
Re:The Performance Impact of C++'s `final` Keyword by JonChesterfield on Tuesday April 23, 2024 @07:17PM (#40138495)
Optimization means "make it faster without changing behaviour in ways I don't like". Clang can't generally default that one to on because it doesn't know whether you're going to splice in more code it can't see at runtime.

Lots of code gets slower if it might need to be called from something not currently in the compiler's scope. That's essentially what ABI overhead is. If there isn't already, there should be a compiler flag that says "this is the whole program, have at it" which implies the vtables option.

There are no comments on this comment yet.