sortUniq

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 22 13:40:56 PST 2015


There's this classic patter on Unix: |sort|uniq, i.e. sort some data and 
only display the unique elements.

What would be a better integrated version - one that does sorting and 
uniq in one shot? I suspect the combination could be quite a bit better 
than doing the two in sequence.

A few google searches didn't yield much. Ideas?


Thanks,

Andrei


More information about the Digitalmars-d mailing list