|
Re: Replacing duplicates in a randomly generated array
I'll just call it pseudo-code from now on :-)
I just re-ran it with a larger sample space.
On an 8-year-old desktop PC running XP Pro, it took a little over 1 millisecond to select 10 thousand non-dup random samples from a 100 million sample space (neglecting the time required to populate the sample space).
|