Assuming you're using the Python's random module, which works based on
the Mersenne Twister, you can preset the seed with
random.seed(hashable).
More details here:
http://docs.python.org/library/random.html#random.seed
~Temia
On Wed, 25 Apr 2012 07:51:18 +0200, you wrote:
>Hi,
>
>I'm working wi
Hi,
I'm working with some sorting algorithms and I want to compare their
efficiency. One test fills a list with one million random integers,
which serves as input for the algorithms. However, if this list is
different each time I run the tests, the tests wouldn't be fair. At
the moment the selecte