[issue28433] Add sorted (ordered) containers

Марк Коренберг report at bugs.python.org
Mon Oct 17 12:54:09 EDT 2016


Марк Коренберг added the comment:

@r.david.murray

Please see answres at https://groups.google.com/forum/#!topic/python-ideas/nPOi2LtVsR4

No one say that adding sorted containers is bad idea. Some people say that specific use-cases require specific solutions, but they also said that it is good to add solution, that is not-so-bad for a gneric case.

The most appropriate solution (as I think) is pure-python sorted containers that are proven to be bug-free and has perfromance comparison against many other libraries. http://www.grantjenks.com/docs/sortedcontainers. This will make support of PyPy/IronPython/e.t.c automagically.

Why not to add it to CPython distribution (like asyncio) ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28433>
_______________________________________


More information about the Python-bugs-list mailing list