#7052: Numeric types’ Read instances use exponential CPU/memory
--------------------------------------+-------------------------------------
  Reporter:  andersk                  |          Owner:                  
      Type:  bug                      |         Status:  new             
  Priority:  normal                   |      Milestone:                  
 Component:  libraries/base           |        Version:  7.4.2           
Resolution:                           |       Keywords:                  
        Os:  Unknown/Multiple         |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |     Difficulty:  Unknown         
  Testcase:                           |      Blockedby:                  
  Blocking:                           |        Related:  #5688           
--------------------------------------+-------------------------------------

Comment(by andersk):

 Also it looks like GHC itself (also 7.4.2) is not using the improved
 `read`, as compiling `x = 1e99999999` or typing `1e99999999` into GHCi
 uses lots of CPU and memory for several seconds, although this is of
 course a less critical problem.

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