On 06/03/16 14:41, Steven D'Aprano wrote:
On Sun, 6 Mar 2016 10:34 pm, Tony van der Hoff wrote:
Hi, I've been experimenting with a short test program under python 2.7
and python 3.4.2. It's a simple read from file, and locate a word therein.
I get the (subjective) impression that python2 is slightly faster than
python3. Is that correct? Is there any documentation to support this?
I believe that, overall, Python 3 is still slightly slower than Python 2,
but it's a near thing. Have a look at the latest performance benchmarks:
https://speed.python.org/comparison/
Eyeballing the graph, I estimate that the latest 3.x version is probably
about 10% slower overall, although different benchmarks show different
speeds.
Excellent, just what I was looking for. Thank you very much, Steven.
--
Tony van der Hoff | mailto:t...@vanderhoff.org
Buckinghamshire, England |
--
https://mail.python.org/mailman/listinfo/python-list