Inline Functions

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Feb 25 06:23:24 PST 2009


On Wed, Feb 25, 2009 at 9:09 AM, Jarrett Billingsley
<jarrett.billingsley at gmail.com> wrote:
> On Wed, Feb 25, 2009 at 3:26 AM, Walter Bright
> <newshound1 at digitalmars.com> wrote:
>>
>> Also, if you are trying to optimize the code by trying various tweaks at the
>> statement level, it's much like shooting skeet blindfolded if you don't look
>> at the asm output. It's time consuming and unlikely to be successful.
>
> 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?
>

Also, looking at the DMD frontend source is *not* an acceptable option.



More information about the Digitalmars-d mailing list