[Numpy-discussion] Purpose for bit-wise and'ing the initial mersenne twister key?

Sturla Molden sturla@molden...
Fri Feb 13 10:04:48 CST 2009


On 2/13/2009 4:51 PM, Michael S. Gilbert wrote:

> It's not about saving milliseconds, it's about taking half the time to
> run the same simulation.  So if my runs currently take 2 hours, they
> will take 1 hour instead; and if they take 2 days, they will take 1
> day instead. It may not impact your application's runtime, but it does
> mine.

So you have a simulation written in *Python*, and the major bottleneck 
is the MT prng? Forgive me for not believing it.

cProfile.run('simulation()')



S.M.








More information about the Numpy-discussion mailing list