Steven D'Aprano added the comment: Looks good to me.
I've run some quick timing tests, and for very small lists, there's no significant difference, but for larger lists I'm getting up to a 50% speedup. Nicely done, thank you. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26002> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com