[GHC] #605: Optimisation: strict enumerations
GHC
ghc-devs at haskell.org
Sat Dec 31 08:12:22 UTC 2016
#605: Optimisation: strict enumerations
-------------------------------------+-------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone: ⊥
Component: Compiler | Version: None
Resolution: None | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case: N/A
Blocked By: | Blocking:
Related Tickets: #6135 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
FWIW we can currently store strict enumerations as `Int#`s with
Phab:D2424.
Phab:D2436 allows returning `Int#` when returned enumeration is used
strictly.
Another patch is needed for extending demand analysis and passing `Int#`
for strict enumerations. I actually have most of the code ready, but it
needs rebasing it on current HEAD. IIRC some parts of the demand analysis
were missing, but I can't remember exactly which parts.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/605#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list