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

Robert Kern robert.kern at gmail.com
Fri Feb 6 17:56:00 EST 2009


On Fri, Feb 6, 2009 at 16:57, Michael S. Gilbert
<michael.s.gilbert at gmail.com> wrote:
> Ok, so isn't this a slight waste of memory then (a doubling on 64-bit platforms)?  Of course the tradeoff is whether you want to maintain two codebases for 32- and 64-bit or just one.  The advantages of a single codebase probably outweight an increase in memory usage since we're only talking about the difference between 2kB and 4kB, which is fairly insignificant.

I'm not going to modify the upstream source and risk introducing bugs.

PS: I am on the mailing list. You do not need to Cc: me.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list