Trass3r wrote:
But a big problem is that inlining seems to be done only inside one
module and not across modules which makes modules with something like
small helper or math functions which are used across different modules
senseless.
Yeah, I think so as well as each module is compiled separately.
Nevertheless my patch lists functions that aren't used in the same
module. Maybe I've missed something.
I don't think so. It's hard to believe that the inliner would be so limited.
It'd be great to assemble some important test cases that currently fail.
Probably 'ref' arguments are the main culprit.