DMD2 vs LDC2 inliner

Nicholas Wilson iamthewilsonator at hotmail.com
Mon Feb 25 07:11:55 UTC 2019


On Monday, 25 February 2019 at 04:08:38 UTC, Jonathan M Davis 
wrote:
> One issue that's commonly brought up about dmd's inliner is 
> that it's in the front-end, which apparently is a poor way to 
> do inlining. One side effect of that though would be that 
> unless the ldc folks go to extra effort to disable the 
> front-end's inliner

We do.

> , ldc has that inliner - and then it's inlining using llvm. So, 
> given that, it's practically guaranteed to do a better job.

It does anyway ;)





More information about the Digitalmars-d-learn mailing list