+1 QOTW... On Tue, Sep 23, 2008 at 7:13 AM, George Sakkis <[EMAIL PROTECTED]>wrote:
> On Sep 23, 9:57 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > > > On 2008-09-23, sturlamolden <[EMAIL PROTECTED]> wrote: > > > > [...] > > > > > After having a working Python prototype, I resorted to rewrite the > > > program in C++. The Python prototype took an hour to make, debug and > > > verify. The same thing in C++ took me almost a day to complete, even > > > with a working prototype as model. To my surprise, the resulting beast > > > of C++ required 64.3 seconds to construct the same kd-tree. Searching > > > the tree was not faster either, 1,000 points required 38.8 seconds. I > > > wasted a day, only to find my Python prototype being the faster. > > > > > We may conclude that I'm bad at programming C++, > > > > AFAICT, _everybody_ is bad at programming C++. > > +1 QOTW > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://www.goldwatches.com/
-- http://mail.python.org/mailman/listinfo/python-list