in reply to Re^2: Check randomly generated numbers have not been used before
in thread Check randomly generated numbers have not been used before
just store the srand seed and recreate the bitmap as needed.
It takes 25 milliseconds to write the (10 million bit) bitmap out and then read it back.
It takes over 20 85 207 minutes to recreate the first million picks.
Math::Random::MT is excellent; but it's not fast.
|
|---|