It could. I don't think the compiler is smart enough, as it would need to verify result doesn't go anywhere (flow analysis).
In that case I'd like to see recursive inlining, if it makes stack allocations more probable.
It could. I don't think the compiler is smart enough, as it would need to verify result doesn't go anywhere (flow analysis).
In that case I'd like to see recursive inlining, if it makes stack allocations more probable.