timeit lambda None 1000000 loops best of 311 ns per loop timeit 100000

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
>>> %timeit lambda:None
1000000 loops, best of 3: 311 ns per loop
>>> %timeit u'1'
10000000 loops, best of 3: 80.6 ns per loop
>>> %timeit 1
10000000 loops, best of 3: 38.3 ns per loop
>>> %timeit '1'
10000000 loops, best of 3: 35.7 ns per loop