[GHC] #3897: reading a large String as Double takes too long
GHC
trac at galois.com
Wed Feb 24 07:52:05 EST 2010
#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
More information about the Glasgow-haskell-bugs
mailing list