|
|
|
|
|
by cnu
2191 days ago
|
|
It's a poorly written post. I think mostly written for SEO and traffic. One thing that I didn't notice others here didn't comment about: In the section where they write about xrange vs range
in python 2 vs 3, they reference a piece of code
supposedly written for py3 which isn't there. xrange was fast in python 2 because it allows you to evaluate lazily, which is what range does in python 3. So whatever benefits you got out of xrange is there in range. |
|