This is fun, but with the test code running 10 million iterations to generate "slower" numbers, is this of practical interest?
https://en.wikipedia.org/wiki/Algorithmic_complexity_attack
https://www.freecodecamp.org/news/hash-table-attack-8e4371fc...