in reply to Re^2: Is there a better way to generate unique set of random numbers ?
in thread Is there a better way to generate unique set of random numbers ?
Were rand to be truly random, neither algorithm could guarantee to be finished before Perl 6 dominates the world.
Though if you do the math and calculate the probability that either algorithm does not terminate with the given parameters in, let's say, 2 seconds on a modern machine, you'll probably find that the chance of computation errors in the CPU caused by cosmic rays is much higher.
Doing the strict theory only makes sense if the actual machine corresponds to the machine model that the theory assumes.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Is there a better way to generate unique set of random numbers ?
by happy.barney (Friar) on Jul 28, 2011 at 10:52 UTC | |
Re^4: Is there a better way to generate unique set of random numbers ?
by JavaFan (Canon) on Jul 28, 2011 at 10:48 UTC |