<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 April 2013 12:09, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com" target="_blank">bearophileHUGS@lycos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I remember Walter saying two or more times that the semantics of D offers some optimization opportunities that probably are not yet used to try to reduce the run-time of D programs. Is Walter willing to write down a list of such opportunities? (Ideas from other persons are welcome). Maybe some LDC/GDC developer will make the GCC/LLVM back-ends use them. The implementation of those ideas will require some time, so later it's better to put the list in the D wiki.<br>

<br>
Bye,<br>
bearophile<br>
</blockquote></div><br><br clear="all"></div><div class="gmail_extra">This information could possibly be helpful.  Though given that most of (gdc) codegen is on par with g++, there's probably not much on the list that isn't already detected by the backend optimisation passes.<br>
<br><br></div><div class="gmail_extra">-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>