Pyhon 2.x or 3.x, which is faster?

Marko Rauhamaa marko at pacujo.net
Mon Mar 7 06:11:54 EST 2016


BartC <bc at freeuk.com>:

> I've also found that 3 was consistently slower than 2 on various
> benchmarks. Perhaps 10 to 20% slower (also 3.4 vs. 2.7).

Python doesn't exist for performance-critical parts of your solution.
Also, Python programs tend to take huge amounts of space.

Where that is a problem, use some other programming language like C.


Marko



More information about the Python-list mailing list