Answer the question
In order to leave comments, you need to log in
What can shuffle a list faster than random.shuffle?
The values list contains more than 200 thousand elements, I'm trying to shuffle it using a function, random.shuffle(values)
but it takes a very long time, how can I shuffle the list faster?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question