3 ms·
>using range va xrange in Python 2.x when iterating over large ranges - that's a difference of literally one letter. Which literally makes no noticeable differ
by crdoconnor 11y ago
>using range va xrange in Python 2.x when iterating over large ranges - that's a difference of literally one letter.
Which literally makes no noticeable difference 97% of the time.
I wouldn't necessarily complain if you did that to my code as part of a broader refactor but if the range is small you're not doing anybody any favors.