A Tree class, my $0.02 contribution to the python community.

Diez B. Roggisch deets at nospam.web.de
Wed Oct 12 17:58:50 EDT 2005


Antoon Pardon wrote:
> I don't know. The python dictionary type with its name, seem to refer
> to how it is implemented, so I thought Tree was an appropiate name
> here as it is implemented as a tree.

I too had the impression you're talking about a tree-implementation, not 
a mapping based on key compare operations.

Java calls such a thing TreeMap - so maybe TreeDict would be a suitable 
name.

Diez



More information about the Python-list mailing list