Lazy eval -- an example issue

Sean Kelly sean at f4.ca
Tue Aug 22 06:54:49 PDT 2006


Walter Bright wrote:
> 
> 3) It is possible that the delegate can be inlined, thus eliminating any 
> extra overhead.

Really?  Are you saying that if the receiving function is short enough 
the function and its delegate use may be inlined in the calling code?  I 
can't imagine that it would simply be inlined in the receiving function 
and duplicates of that wold be generated.  Or at least, DMD doesn't 
appear to do that now.


Sean



More information about the Digitalmars-d mailing list