#3897: reading a large String as Double takes too long
------------------------+---------------------------------------------------
    Reporter:  maeder   |        Owner:                         
        Type:  bug      |       Status:  new                    
    Priority:  normal   |    Milestone:  7.2.1                  
   Component:  Prelude  |      Version:  6.12.1                 
    Keywords:           |     Testcase:                         
   Blockedby:           |   Difficulty:                         
          Os:  Linux    |     Blocking:                         
Architecture:  x86      |      Failure:  Runtime performance bug
------------------------+---------------------------------------------------

Comment(by maeder):

 It does not even need an undecidable type system for compilation to fail.
 The following source is enough:

 {{{
 main = print 1E1000000000
 }}}

 Using Rational or Integer is a bad idea to compute the exponent factor
 (with "^" or "^^"), in particular since the exponent notation is not
 supported for these types.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3897#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to