inlining functions

Dave Dave_member at pathlink.com
Tue May 1 12:48:07 PDT 2007


Deewiant wrote:
> Jan Hanselaer wrote:
>> Do I understand it well that there's no function inlining at all when you 
>> compile without the -inline parameter?
>>
> 
> Most likely yes.
> 
>> And that the compiler chooses which functions to inline when you compile 
>> with the -inline parameter?
> 
> Yes.
> 
>> And if so, anyone knows what the exact criteria are? I read something like 
>> no inlining when there's a loop in the function, but are there more 
>> criteria?
>>
> 
> Another one is that functions containing inline asm aren't inlined.

It would be great if -v listed the functions inlined.


More information about the Digitalmars-d-learn mailing list