
#12790: GHC 8.0.1 uses copious amounts of RAM and time when trying to compile
lambdabot-haskell-plugins
-------------------------------------+-------------------------------------
Reporter: clint | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
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: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
Great catch. Indeed, I cannot reproduce the issue anymore with GHC 8.2.2,
GHC 8.4.1, or HEAD with the program in comment:7, and moreover, I can
compile `lambdabot-haskell-plugins` on GHC 8.2.2 in a reasonable amount of
time with profiling enabled.
Here's what you get for the Core for `list` on GHC HEAD:
{{{
-- RHS size: {terms: 1, types: 0, coercions: 7, joins: 0/0}
list :: Parser Expr
list
= Parser.list1
`cast` (Sym (Text.Parsec.Prim.N:ParsecT[0]
<[Char]>_R <()>_R