In timeit 10000000 loops best of 23 ns per loop In timeit 10000000 loo

1
2
3
4
5
6
7
8
In [4]: %timeit 1
10000000 loops, best of 3: 23.7 ns per loop
In [5]: %timeit '1'
10000000 loops, best of 3: 23.7 ns per loop
In [6]: %timeit u'1'
10000000 loops, best of 3: 33.6 ns per loop