Antoine Pitrou added the comment:

>From a quick look, the algorithm is indeed correct, and it should perform 
>better on average than the previous one.

Note: both algorithms are O(n**2) worst case, not O(n).

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20826>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to