AA with complex keytype?

Stewart Gordon smjg_1998 at yahoo.com
Sat Feb 10 05:55:00 PST 2007


Manfred Nowak Wrote:

> Frits van Bommel wrote
<snip>
>> (do current AAs use unbalanced trees?  I have no idea, I just 
>> know they use _some_ form of trees)
> 
> They are unbalanced.  Look at phobos/internal/aaA.d:278 and 
> following lines.

Balancing the trees on the fly would be inefficient.  But rehash ought to balance them while it's at it.

Stewart.



More information about the Digitalmars-d mailing list