[GHC] #8095: TypeFamilies painfully slow
GHC
ghc-devs at haskell.org
Tue Oct 6 12:29:28 UTC 2015
#8095: TypeFamilies painfully slow
-------------------------------------+-------------------------------------
Reporter: MikeIzbicki | Owner: bgamari
Type: bug | Status: new
Priority: high | Milestone: 8.0.1
Component: Compiler (Type | Version: 7.6.3
checker) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: 5321 | Differential Rev(s):
-------------------------------------+-------------------------------------
Comment (by simonpj):
> Maybe the solution is to be more eager with the coercion optimizer?
I don't think so. If the type checker generates a term of quadratic size,
it'll take at least quadratic time to generate, and quadratic time to
optimise.
We should look into why it gets so big in the first place.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8095#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list