Jarrett Billingsley wrote:
In this case it's not entirely helpful that DMD's inlining rules are completely opaque. Do you have a list of what DMD will and won't inline, and their justifications? If not, could you make one?
In the immortal words of Oggie-Ben-Doggie, "use the source, Luke".In this case, the source is FuncDeclaration::canInline() in /dmd/src/dmd/inline.c.
Yes, I know, but it's all there is at the moment.
