29.04.20 17:56, Ram Rachum пише:
Thanks everybody for your answers, and especially Ricky for finding this note.
Please not that the optimization mentioned in the comment still keeps the linear complexity for these operations. It just reduces the constant multiplier.
_______________________________________________ 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/5GPWJE4TGNKQTB54GPH3TELCGBB2OYPP/ Code of Conduct: http://python.org/psf/codeofconduct/
