Remove duplicates
Namespace
rswhite4 at googlemail.com
Tue May 21 16:05:45 PDT 2013
On Tuesday, 21 May 2013 at 22:51:26 UTC, bearophile wrote:
> Namespace:
>
>>> // Slow implementation that shows the semantics.
>> ...
>> I do not know if this solution would be much faster. But if I
>> should make a statement, I would tend to yes.
>
> (The point of my code was to show the semantics as much clearly
> as possible, it was not to show fast code.)
>
> If no similar function is in Phobos, and there is no trivial
> way to implement it efficiently, then maybe it's worth writing
> a Phobos enhancement request.
>
> Bye,
> bearophile
http://dlang.org/phobos/std_algorithm.html#uniq
More information about the Digitalmars-d-learn
mailing list