On Mon, 16 Mar 2020 at 22:22, Andrew Barnert via Python-ideas <[email protected]> wrote: > I think the best solution is to just not have a SortedList. C++, Java, etc. > don’t provide anything like that
Guava has TreeMultiset: https://guava.dev/releases/snapshot/api/docs/com/google/common/collect/TreeMultiset.html The problem is: is there a use case? I mean, how much time you need to sort a list, add an element and re-sort it? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/BK3ZJJZO5ZC6X6U7B4TCFVGKVRDSNUTG/ Code of Conduct: http://python.org/psf/codeofconduct/
