Skip to content Skip to sidebar Skip to footer

Python 3: Loops, List Comprehension And Map Slower Compared To Python 2?

I am currently learning Python 3 and thought some speed comparison could be neat. Thus, I created some in-place and some temporary list functions, which simply add 1 to a long list

Solution 1:

Python3 is slightly slower that Python2. Check with pystone benchmark. If speed is of concern stick with Python 2.7.0 Release which has better third party package support.


Post a Comment for "Python 3: Loops, List Comprehension And Map Slower Compared To Python 2?"