Ordered dicts

Neil Cerutti horpner at yahoo.com
Tue Sep 26 09:18:59 EDT 2006


On 2006-09-26, bearophileHUGS at lycos.com <bearophileHUGS at lycos.com> wrote:
> I have found that in certain situations ordered dicts are
> useful. I use an Odict class written in Python by ROwen that I
> have improved and updated some for personal use.
>
> So I'm thinking about a possible C version of Odict (maybe fit
> for the collections module).

Check out http://sourceforge.net/projects/pyavl/ for a probably
useful sorted mapping type, already implemented in C as an
extension module.

However, I haven't tried it myself.

-- 
Neil Cerutti
We're going to be exciting.  Of course, it was exciting when the
Titanic went down. --Bob Weiss



More information about the Python-list mailing list