Consistency

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 15 22:23:06 PST 2015


"bearophile"  wrote in message news:jufdlgyynxiwbqubbbkx at forum.dlang.org...

> D associative arrays used to be O(1) amortized and O(n ln n) in worst 
> case.

No, they were still O(n) worst case, for a single bucket with a degenerate 
binary tree. 



More information about the Digitalmars-d mailing list