Comment

Comment by mgaunard

What final enables is devirtualization in certain cases. The main advantage of devirtualization is that it is necessary for inlining.

Inlining has other requirements as well -- LTO pretty much covers it.

The article doesn't have sufficient data to tell whether the testcase is built in such a way that any of these optimizations can happen or is beneficial.

parent mgaunard 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton