On Sun, 30 Aug 2020 09:51:14 +0100 Barry Scott <ba...@barrys-emacs.org> wrote: > That is 4x slower then my code for 1,000,000 items.
This is highly dependent on the cost of equality checks, therefore on the type being compared. Regards Antoine. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/TVJENK7BJQWAGSKQ4NLV54FFWGN3KZPV/ Code of Conduct: http://python.org/psf/codeofconduct/