Perhaps you have some code to post or a description of the algorithms you have used. 20 seconds seems an awful long time to randomly sort an array of 52 elements. An awful long time.
Giving close to zero thought to this, one possibility would be to assign a random number between say 0 and 1 to each card and then sort the array according to the random number. There is no way that should take 20 seconds if implemented correctly.
I'm sure there are plenty of other options as well.
gen
Giving close to zero thought to this, one possibility would be to assign a random number between say 0 and 1 to each card and then sort the array according to the random number. There is no way that should take 20 seconds if implemented correctly.
I'm sure there are plenty of other options as well.
gen