#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):
I've noticed the same problem for the float parsers in
`Text.ParserCombinators.Parsec.Token.exponent'` (or Text.Parsec.Token)
that use `10^e` to compute the factor. Using '10**e' instead (hopefully)
solved the problem in my `Text.ParserCombinators.Parsec.Number` module
(function `exponentValue`) from http://hackage.haskell.org/package/parsec-
numbers
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3897#comment:5>
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