News for hackers. Stuff that matters.
Re:The 'premature optimization is evil' myth (2010) by crdoconnor on Monday March 14, 2016 @04:34PM (#11285372)
>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.

There are no comments on this comment yet.