On 11/2/06, Lennart Augustsson <[EMAIL PROTECTED]> wrote:
A big problem with the Mersenne Twister is the shifts.  As has been
noted elsewhere, ghc doesn't do such a great job on those.

Actually, the shifts are only evaluated once (hurrah for lazy
evaluation) and with -funfolding-use-threshold=16 they're all compiled
to unchecked primitives (GHC.Prim.uncheckedShiftRL#).

--
Cheers,
 Lemmih
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to