Setup:
Timed:
x = TypeToTest(range(n))
Timed:
del x[len(x)//4:3*len(x)//4]
x *= 2
Delete a sliceSetup:
x = TypeToTest(range(n)) Timed: del x[len(x)//4:3*len(x)//4] |