[GHC] #427: Random.StdGen slowness
GHC
trac at galois.com
Mon Mar 2 17:31:33 EST 2009
#427: Random.StdGen slowness
---------------------------------+------------------------------------------
Reporter: remit | Owner:
Type: bug | Status: new
Priority: low | Milestone: _|_
Component: libraries/random | Version: 6.4.1
Severity: normal | Resolution: None
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by duncan):
See also http://haskell.org/pipermail/libraries/2009-March/011390.html
It looks like just adding a bit of strictness to the `StdGen` constructor
and to `getStdRandom` would improve things without much fuss. Probably
needs 10 min to investigate the performance difference.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/427#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list