#427: Random.StdGen slowness
---------------------------------+------------------------------------------
Reporter: remit | Owner:
Type: bug | Status: new
Priority: low | Milestone: _|_
Component: libraries/random | Version:
Severity: normal | Resolution: None
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by dons):
Replying to [comment:15 duncan]:
> I don't think that patch is enough to fix the "thunk-bomb" problem
(though I think it is also necessary). It also needs `getStdRandom` to seq
the gen state when updating the `IORef`. Mind you, I've not actually
tested it.
http://galois.com/~dons/tmp/seq-strict-random.dpatch
Needs someone to test it now :-)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/427#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs