[GHC] #13059: High memory usage during compilation
GHC
ghc-devs at haskell.org
Wed Feb 15 15:00:42 UTC 2017
#13059: High memory usage during compilation
-------------------------------------+-------------------------------------
Reporter: domenkozar | Owner: (none)
Type: bug | Status: closed
Priority: highest | Milestone: 8.2.1
Component: Compiler | Version: 8.0.2-rc2
Resolution: fixed | Keywords: Generics
Operating System: Unknown/Multiple | Architecture: x86_64
Type of failure: Compile-time | (amd64)
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: #5642, #11068 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => closed
* resolution: => fixed
Comment:
I honestly don't think there's a consistent rule that you shouldn't inline
any default method implementations. Rather, this is a very particular case
where inlining a chain of `GHC.Generics`-related instance methods together
leads to high memory usage, which feels more like a bug than anything.
My vote is to close this and pursue the discussion in #5642 and #11068,
where this behavior has been observed before. Feel free to reopen if you
disagree.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13059#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list