by robmccoll · 11y ago · 0 comments
In case anyone isn't aware: in Python 3, range()'s implementation was effectively replaced with that of xrange().
I think most of the benefit of xrange comes from the decreased memory usage, not from lower CPU usage. But xrange is definitely closer to what the other code is doing.