#3897: reading a large String as Double takes too long
-----------------------+----------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Component: Prelude
Version: 6.12.1 | Keywords:
Os: Linux | Testcase:
Architecture: x86 | Failure: Runtime performance bug
-----------------------+----------------------------------------------------
{{{
Prelude> :set +s
Prelude> read "1e1000000" :: Double
Infinity
(0.46 secs, 8977756 bytes)
Prelude> read "1e1000000000" :: Double
}}}
The final call takes up all memory and does not terminate
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3897>
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