[GHC] #4937: Remove indirections caused by sum types, such as Maybe
GHC
cvs-ghc at haskell.org
Tue Feb 1 16:21:52 CET 2011
#4937: Remove indirections caused by sum types, such as Maybe
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by tibbe):
After a discussion on IRC Simon M pointed out that we cannot actually
remove the indirection i.e. turning `Just Int` into a pointer to an
`Int#`, as everything on the heap needs to be tagged.
I'm closing this ticket as this doesn't seem feasible at the moment.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4937#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list