<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 29, 2015 at 11:47 AM, Jacob Carlborg via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-07-27 14:03, Johan Holmberg via Digitalmars-d wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">The timings running my program normally (not using Instruments now),<br>
became as follows with the different versions of dmd:<br>
<br>
dmd unmodified: 1.59s<br>
dmd with change 1): 1.33s<br>
dmd with change 1+2): 1.22s<br>
C++ using <stdio.h>: 1.13s    (for comparison)<br>
</span></blockquote>
<br>
I recommend you also try using LDC. It has a better optimizer and is using native TLS on OS X.<span class="HOEnZb"><font color="#888888"><br>/Jacob Carlborg<br>
</font></span></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Is there a LDC that incorporates the changes coming in DMD 2.068 that made my code run 10x faster compared with 2.067? (the one Andrei talked about in the StackOverflow-link given earlier in this thread: <a href="https://github.com/D-Programming-Language/phobos/pull/3089">https://github.com/D-Programming-Language/phobos/pull/3089</a> ).</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have tried "ldc2-0.15.2-beta1-osx-x86_64" and also built LDC from the Git-archive sources. In both cases I get times around 13s. This is close to my original "bad" numbers from DMD 2.067 (15s).</div><div class="gmail_extra"><br></div><div class="gmail_extra">I assume I have to wait until there is a LDC using the same Phobos version as DMD 2.068 uses.</div><div class="gmail_extra"><br></div><div class="gmail_extra">/johan</div><div class="gmail_extra"><br></div></div>