<div dir="ltr"><span class="Apple-style-span" style="border-collapse: collapse; ">+1 QOTW...</span><br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 7:13 AM, George Sakkis <span dir="ltr"><<a href="mailto:george.sakkis@gmail.com">george.sakkis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Sep 23, 9:57 am, Grant Edwards <<a href="mailto:gra...@visi.com">gra...@visi.com</a>> wrote:<br>
<div class="Ih2E3d"><br>
> On 2008-09-23, sturlamolden <<a href="mailto:sturlamol...@yahoo.no">sturlamol...@yahoo.no</a>> wrote:<br>
><br>
> [...]<br>
><br>
> > After having a working Python prototype, I resorted to rewrite the<br>
> > program in C++. The Python prototype took an hour to make, debug and<br>
> > verify. The same thing in C++ took me almost a day to complete, even<br>
> > with a working prototype as model. To my surprise, the resulting beast<br>
> > of C++ required 64.3 seconds to construct the same kd-tree. Searching<br>
> > the tree was not faster either, 1,000 points required 38.8 seconds. I<br>
> > wasted a day, only to find my Python prototype being the faster.<br>
><br>
> > We may conclude that I'm bad at programming C++,<br>
><br>
> AFAICT, _everybody_ is bad at programming C++.<br>
<br>
</div>+1 QOTW<br>
<div><div></div><div class="Wj3C7c">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.goldwatches.com/">http://www.goldwatches.com/</a><br>
</div>