4 ms·
It's a whole different story if the input gets longer and the quadratic complexity kicks in. Just change the testdata like this: testdata = range(256)*100 R
by danielh 16y ago
It's a whole different story if the input gets longer and the quadratic complexity kicks in. Just change the testdata like this:
testdata = range(256)*100
Result:
f1 5.539
f2 40.747
f3 5.072
f4 5.311
f5 0.068
f6 3.304
f7 1.431