Maximal Length of List to Shuffle with Python random.shuffle?
- by Henrik
I have a list which I shuffle with the Python built in shuffle function (random.shuffle)
However, the Python reference states:
Note that for even rather small
len(x), the total number of
permutations of x is larger than the
period of most random number
generators; this implies that most
permutations of a long sequence can
never be generated.
Now, I wonder what this "rather small len(x)" means. 100, 1000, 10000,...
Can anybody clarify?
Thanks!