[GHC] #9214: UNPACK support for sum types
GHC
ghc-devs at haskell.org
Fri Jun 20 12:46:34 UTC 2014
#9214: UNPACK support for sum types
-------------------------------------+------------------------------------
Reporter: mojojojo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by tibbe):
It's even more complicated than just allocating the max needed by any of
the unpacked sum type's constructor. The GC needs to know what the fields
are in any given constructor to be able to GC correctly. I don't think
this will be hard (that's why we haven't done it already).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9214#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list