<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><br><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have been told that you could pretty much literally implement the algorithms<br>
from the problem specification with Seq from Data.Sequence and achieve<br>
acceptable speed (IIRC ~ one minute for generating a whole picture).<br>
</blockquote></div><div><br>Yes, it is straightforward to implement the algorithm when using sequences.<br><br> </div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Are you sure that there is no unintentional bug in your implementation that<br>
slows things down?<br>
</blockquote></div><div><br>The test cases on the problem definition all worked, but they touch very little of the code. <br><br>I added some "trace" calls, but could not see any trouble. I also did some runs "by hand" and it seemed ok. <br>
<br>If only Gödel was wrong... :-)<br> </div></div><br>-- <br><div class="Ih2E3d">Rafael Gustavo da Cunha Pereira Pinto<br></div>Electronic Engineer, MSc.<br>
</div>
</div><br><br clear="all"><br>-- <br>Rafael Gustavo da Cunha Pereira Pinto<br>Electronic Engineer, MSc.<br>
</div>