by ouid · 9y ago · 0 comments
That algorithm, in this case, is a quadratic one.
No surprises for users here, which is why that bug lasted for about 4 years with noone caring.
If the documentation stated it was O(n), or benchmarks tested it was fast, then it being slow would become a bug.
As is, it's just what it is.