easydiff1 = [10] * 30000
easydiff2 = [10] * 30000
easydiff2[0] = 0
timeit(easydiff1, easydiff2, 10000)
timeit(easydiff1, easydiff2, 1000000)
Is there a faster way to test if two lists have the exact same elements than Pythons built in == operator?