Python and STL efficiency
Mc Osten
riko at despammed.com
Wed Aug 23 02:52:53 EDT 2006
<could.net at gmail.com> wrote:
> That's to say,
> python is still much faster?
Yes it is. But of course you can't sat that "Python is faster than C++".
We found that the code to do this, written in the most natural way, is a
lot faster in Python. However, if you optimze the code, C++ gets almost
as fast.
In other benchmarks C++ outperforms Python and is 10 or 100 times
faster.
> Maybe someone can post this to the c++ maillist and they will tell how
> to accelerate it.
There are enough C++ experts here to do it. The point is another.
--
blog: http://www.akropolix.net/rik0/blogs | Uccidete i filosofi,
site: http://www.akropolix.net/rik0/ | tenetevi riso e
forum: http://www.akropolix.net/forum/ | bacchette per voi.
More information about the Python-list
mailing list