monasca-analytics/monasca_analytics
Luong Anh Tuan 05f12bfffa Remove xrange for run both Python 2 and Python 3
In python 3, range() does what xrange() used to do and xrange() does not
exist. If you want to write code that will run on both Python 2 and
Python 3, you can't use xrange().

range() can actually be faster in some cases - eg. if iterating over the
same sequence multiple times. xrange() has to reconstruct the integer
object every time, but range() will have real integer objects.
(It will always perform worse in terms of memory however)

xrange() isn't usable in all cases where a real list is needed.
For instance, it doesn't support slices, or any list methods.

Change-Id: I5233438a864bb00d04ba7fb2b1688cacb0473691
2016-10-12 11:40:05 +07:00
..
banana Remove xrange for run both Python 2 and Python 3 2016-10-12 11:40:05 +07:00
component This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
config This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
exception Improve error message and span calculation. 2016-09-21 15:55:24 +01:00
ingestor Fix the Cloud example as it was broken. 2016-09-19 17:37:29 +01:00
ldp Remove xrange for run both Python 2 and Python 3 2016-10-12 11:40:05 +07:00
parsing This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
sink This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
sml Make it possible to pick the number of samples used for SVM. 2016-09-16 10:50:51 +01:00
source Improve speed in data generation while preserving semantics. 2016-09-20 10:33:48 +01:00
spark Fix crash issue. 2016-09-14 11:22:13 +01:00
util This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
voter This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
web_service This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
__init__.py H104 support 2016-06-03 12:42:47 +00:00
monanas.py This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00