Earlier in the thread, we were pointed to multiple implementations. Is this particular one clearly the “best”[*]?
If so, then sure. -CHB [*] best meaning “most appropriate for the stdlib”. A couple folks have already pointed to the quality of the code. But my understanding is that different algorithms are more or less appropriate for different use cases. So is this one fairly “universal”? On Thu, Nov 11, 2021 at 4:31 AM Paul Moore <[email protected]> wrote: > On Thu, 11 Nov 2021 at 11:51, Antoine Pitrou <[email protected]> wrote: > > > > On Wed, 10 Nov 2021 21:12:17 -0600 > > Tim Peters <[email protected]> wrote: > > > [Bob Fang <[email protected]>] > > > > This is a modest proposal to consider having sorted containers > > > > (http://www.grantjenks.com/docs/sortedcontainers/) in standard > library. > > > > > > +1 from me, but if and only if Grant Jenks (its author) wants that too. > > > > > > It's first-rate code in all respects, including that it's a fine > > > example _of_ Python programming (it's not written in C - in Python). > > > > Agreed with Tim. This is a perfect example of some basic and perennial > > facility that would fit very well in the stdlib. > > I agree as well. Is anyone interested enough to ask the library author > if he supports doing this? That seems to be the main unanswered > question here. > > But if anyone wants to argue the "the stdlib should be shrinking, not > growing" position, I suggest they do so *before* someone reaches out > to the module author. No point in us making the suggestion and then > being forced to withdraw it. > > Paul > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/5SURNB4C5FGJ6LSXUPVW2EFP22ERKSGB/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/35YUCU4UZET6NDHCI3N2AY5YQSOX6DTF/ Code of Conduct: http://python.org/psf/codeofconduct/
