#5075: CPR optimisation for sum types if only one constructor is used
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner: simonpj
Type: feature request | Status: patch
Priority: normal | Milestone: 7.6.2
Component: Compiler | Version: 7.0.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonpj):
Still to come: the sum-CPR stuff is switched off for '''nested'''
functions because it turns some let-no-escape functions into non-let-no-
escape ones, which increases allocation. I'm hopeful that Nick F's work on
late-lambda-lifting may solve this, in which case we can switch it on more
vigorously. Hence leaving open for now.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5075#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets