Detailed inline behavior of dmd?
SteveGuo
steveguo at outlook.com
Tue Aug 6 04:18:28 PDT 2013
On Tuesday, 6 August 2013 at 11:07:54 UTC, Peter Alexander wrote:
> 1. You have to add -inline
>
> 2. Don't know. I'm guessing it depends on the function
> complexity, among other things.
>
> 3. No, it cannot possibly inline everything due to recursive
> functions, and indirect function calls. It would also be a
> terrible idea due to code bloat.
Thanks for replying:)
Ok, then is there a -forceinline option like other compiler?
More information about the Digitalmars-d
mailing list