inlining functions

Deewiant deewiant.doesnotlike.spam at gmail.com
Tue May 1 11:22:38 PDT 2007


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.


More information about the Digitalmars-d-learn mailing list