Also, the conclusion about performance wouldn’t be the same if the inputs are vectors of integers as follows:
a = rand(1:100, 1000)
b = shuffle(a)
Also, the conclusion about performance wouldn’t be the same if the inputs are vectors of integers as follows:
a = rand(1:100, 1000)
b = shuffle(a)