#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 Remi):

 The slowness is most probably due to all the Integer conversions or
 perhaps also the algorithm used. (It's been years ago and I'm definitely
 not an expert on PRNGs.)
 However, IIRC making getStdRandom more strict does solve the thunk-bomb
 problem.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/427#comment:13>
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

Reply via email to