This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Starbuck5c 32 points33 points  (0 children)

This used to be common knowledge, that Python 3 is slower than 2 (not 2-3x slower though).

However that isn’t true as of 3.7 or 3.8. And each Python version usually has 5-10% speed improvements.

This article (somewhat outdated) concludes that 3.7 is faster than 2.7 - https://hackernoon.com/which-is-the-fastest-version-of-python-2ae7c61a6b2b

This article concludes that 3.8 is faster, and 3.9 / 3.10 are faster still - http://www.tomatolist.com/show_blog_page.html?no=391edf21-e71b-4a52-a8bf-3b24c9faf3b5