|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Is there a better way to generate unique set of random numbers ?by Anonymous Monk |
| on Jul 28, 2011 at 12:55 UTC ( [id://917260]=note: print w/replies, xml ) | Need Help?? |
|
A PRNG will basically never "exactly repeat," and a sufficiently long string made from one won't either. You could trap key-violations on SQL inserts to catch any cosmic rays.
"The way" to detect dupes in a large dataset is to disk-sort it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||