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

Sturla Molden sturla at molden.no
Fri Feb 13 11:04:48 EST 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