Need help with Removing Duplicates from Array

Sergey kornburn at yandex.ru
Tue Jun 27 12:45:04 UTC 2023


On Tuesday, 27 June 2023 at 12:31:27 UTC, Steven Schveighoffer 
wrote:
> On 6/27/23 8:13 AM, sonal13 wrote:
>> Hey everyone,
>> 
> This also is not the learn forum, please use that if you have 
> further questions about D.
> -Steve

To make this post more “general”, we could complain a bit, that D 
doesn’t have “set” data structure :) we could emulate it with AA 
- but it is meh ..

And correct me if I’m wrong asymptotically usage of set should be 
more effective than sorting and then removing duplicates :P


More information about the Digitalmars-d mailing list