There seems to be xrange in python2 series
import time
start = time.time()
for x in range(10000):
pass
print "range : {}".format(time.time - start)
start = time.time()
for x in range(10000):
pass
print "range : {}".format(time.time - start)
result
range : 0.00071907043457
xrange : 0.000457048416138
xrange calls fast