Why is Python so slow?

Moshe Zadka moshez at math.huji.ac.il
Fri Jun 9 04:17:10 EDT 2000


On Fri, 9 Jun 2000, William Dandreta wrote:

> The Python version was 1.2.

Ummmmm.....I'm not sure when 1.2 was current, but it was probably more
then 3 years ago. How about benchmarking vs. something a little more
recent?

> Why does it take Python 50 times longer than C?

If you code C in Python, you'll get 50 times difference. If you code good
Python in Python, you can reach speeds which are quite close for text
analysis.

--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list