```python
In [4]: timeit [a for a in xrange(5)]
1000000 loops, best of 3: 774 ns per loop

In [5]: timeit [a for a in range(5)]
1000000 loops, best of 3: 842 ns per loop

In [6]: timeit [a for a in xrange(3)]
1000000 loops, best of 3: 566 ns per loop

In [7]: timeit [a for a in range(3)]
1000000 loops, best of 3: 674 ns per loop
```