[dmd-internals] dmd commit, revision 497

Walter Bright walter at digitalmars.com
Fri May 21 18:44:01 PDT 2010



dsource.org wrote:
> dmd commit, revision 497
>
>
> user: walter
>
> msg:
> bugzilla 2008 Poor optimization of functions with ref parameters
>
> http://www.dsource.org/projects/dmd/changeset/497
>
>   

A couple other improvements to the inliner are possible:

1. inline functions with loops in them, as long as the place where they 
are inlined is a statement rather than an expression

2. always inline private functions that are called exactly once, even if 
they are large, if it is possible to inline them


More information about the dmd-internals mailing list