<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 16, 2015 at 10:49 AM, Shankar Kalpathi Easwaran <span dir="ltr"><<a href="mailto:shankarke@gmail.com" target="_blank">shankarke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was thinking of doing it non recursive too, but I thought its easier to experiment or change the way tasks get spawned(by changing few numbers) with a recursive version, no ??<br>
<br>
The other problem is this approach is not helping and makes the link times longer for building clang/self hosting. Should we move to using the previous implementation ?</blockquote><div><br></div><div>I don't see why making it recursive algorithm makes it easy to change the number of tasks. The non-recursive one is as easy as or easier than the recursive one to change that.</div><div><br></div><div>6 line code is apparently better than recursive long functions. My point is that if there are two ways to do something similar, we should always choose simpler one.</div></div></div></div>