[issue1324770] Adding redblack tree to collections module
Daniel Stutzbach
report at bugs.python.org
Mon Mar 30 22:25:15 CEST 2009
Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:
I agree with Raymond.
In general, the collections module should define containers that are
named after their function rather than their implementation. That way
the implementation can be changed at a later date (or in other Python
implementations) without causing confusion, and it makes it more obvious
what use-case the new collection is solving. That's my opinion, anyway.
As much as I'd love to see more container types in the collections
module (my kingdom for a heap with .decrease_key()!), I don't see what
use-case this implementation of red-black trees fills.
----------
nosy: +stutzbach
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1324770>
_______________________________________
More information about the Python-bugs-list
mailing list