<div dir="ltr"><div>Winners of this test have pooled memory (apr_pools) and tail recursion.<br></div><div><br></div><div>Here&#39;s a version that&#39;s 5X faster:</div><div><a href="https://gist.github.com/AE9RB/ce29eacb5f2214f401af">https://gist.github.com/AE9RB/ce29eacb5f2214f401af</a></div><div><br></div><div><div><div><div>-david (<a href="https://github.com/AE9RB/SwiftGL" target="_blank">https://github.com/AE9RB/SwiftGL</a>)</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 19, 2015 at 10:34 AM, Isaac Gouy via swift-users <span dir="ltr">&lt;<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">This simple binary-trees program seems to cause problems for Swift on Ubuntu 15.10<br>
<br>
<a href="http://benchmarksgame.alioth.debian.org/u64q/program.php?test=binarytrees&amp;lang=swift&amp;id=1" rel="noreferrer" target="_blank">http://benchmarksgame.alioth.debian.org/u64q/program.php?test=binarytrees&amp;lang=swift&amp;id=1</a><br>
<br>
Any suggestions what the problem might be?<br></blockquote></div></div></div></div></div></div></div>