On 19-Aug-2015 01:14, Walter Bright wrote:
On 8/18/2015 3:04 PM, deadalnix wrote:My understanding is that the inliner is in the front end. This definitively do not work the way I describe it here.But it uses a cost function and runs repeatedly until there is no more inlining to be done.
When looking at AST there is no way to correctly estimate cost function - code generated may be huge with user-defined types/operators.
-- Dmitry Olshansky
