On Friday, 1 May 2015 at 19:30:08 UTC, Ilya Yaroshenko wrote:
Both variants are wrong because uniq needs sorted ranges.

Probably you need something like that:

x = x.chain(y).sort.uniq.array;

Interesting.

Is

    x = x.chain(y).sort

faster than

    x ~= y;
    x.sort;

?

If so why?

Reply via email to