<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 October 2015 at 14:41, jmh530 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 Thursday, 29 October 2015 at 08:24:19 UTC, Iain Buclaw wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
std.algorithm.sum was the slowest of the bunch.<br>
<br>
</blockquote>
<br></span>
I would be a little careful making comparisons with std.algorithm.sum because it uses a variety of different algorithms.<br>
</blockquote></div><br></div><div class="gmail_extra">Well, the point of the talk was about simplicity vs. performance. As the implementation was being writing interactively, std.algorithm.sum was tested first because it's the most obvious way to achieve the end goal.<br><br></div></div>