Andrei Alexandrescu: > Well we were discussing how to tackle the algorithm that does not touch > the original array/range. What I have said so far applies still: at the end instead of copying the remaining 10% of the items, create an array of the indexes of those 10%, and then shuffle that. Bye, bearophile