Inline Functions

Walter Bright newshound1 at digitalmars.com
Wed Feb 25 17:59:13 PST 2009


Jarrett Billingsley wrote:
> Also, looking at the DMD frontend source is *not* an acceptable option.

I knew you'd say that <g>.

On the other hand, inlining or not is, like register allocation and any 
other optimizations, highly implementation dependent. If you're going to 
micro-optimize at that level, it really is worthwhile to get familiar 
with obj2asm and the relevant compiler source code.

It'll save you much time in the long run, and will pay off in being able 
to write consistently faster code.

Or, you could sign up for 
http://www.astoriaseminar.com/compiler-construction.html <g>.



More information about the Digitalmars-d mailing list