Python is slow?
Grant Edwards
grante at visi.com
Tue Sep 23 09:57:14 EDT 2008
More information about the Python-list mailing list
Tue Sep 23 09:57:14 EDT 2008
- Previous message (by thread): Python is slow?
- Next message (by thread): Python is slow?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2008-09-23, sturlamolden <sturlamolden at yahoo.no> 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++. One begins to suspect it's not the fault of the programmers. -- Grant Edwards grante Yow! Finally, Zippy at drives his 1958 RAMBLER visi.com METROPOLITAN into the faculty dining room.
- Previous message (by thread): Python is slow?
- Next message (by thread): Python is slow?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list