[GHC] #14364: Reduce repetition in derived Read instances
GHC
ghc-devs at haskell.org
Wed Oct 18 08:17:20 UTC 2017
#14364: Reduce repetition in derived Read instances
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: deriving
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10980 #7258 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by tdammers):
The problem is not just repetition, it's also very deep (>800 levels)
nesting, which might explain why the register allocator gets swamped. This
makes me suspect that factoring out `readField` would not really solve the
issue, because we'd still be stuck with the deep nesting.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14364#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list