[GHC] #15646: ghci takes super long time to find the type of large fractional number

GHC ghc-devs at haskell.org
Fri Sep 14 09:15:57 UTC 2018


#15646: ghci takes super long time to find the type of large fractional number
-------------------------------------+-------------------------------------
           Reporter:  Johannkokos    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  GHCi           |           Version:  8.4.3
           Keywords:  type           |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  performance bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 :t 1e123456789
 }}}


 takes more than 3 seconds to get the type info.

 {{{

 :t 1e1234111111111111111111111
 }}}

 shows a warning/error,


 {{{
 GNU MP: Cannot allocate memory (size=93978265)
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15646>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list