Think of foo() as a placeholder. It was a noop in the tests. But look at the numbers, when I have 20 times more elements, then the time to process is beyond 70 times larger.
150.000 rows takes 236 seconds, do you see the (maybe) quadratic time behaviour.
Bookmarks