[Python-3000] ordered dict for p3k collections?
skip at pobox.com
skip at pobox.com
Wed Sep 26 13:12:27 CEST 2007
Mark> I have put a new version (incorporating another implementation
Mark> idea from Paul Hankin) on PyPI:
Mark> http://pypi.python.org/pypi/sorteddict
>From that:
The main benefit of sorteddicts is that you never have to explicitly
sort.
Surely there must be something more than that. Wrapping sorted() around a
keys() or values() call is a pretty trivial operation. I didn't see that
the implementation saved anything.
Skip
More information about the Python-3000
mailing list