#2338: unpack primitive types by default in data? and NOUNPACK?
---------------------------------+------------------------------------------
Reporter: Isaac Dupree | Owner:
Type: feature request | Status: patch
Priority: low | Milestone: 7.4.1
Component: Compiler | Version: 6.8.2
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by dleuschner):
Thanks Stefan! :-))
Johan, we're using -funbox-strict-fields and our benchmarks tell uns, that
in our case it's best to unpack nearly all of the strict fields. That's
why we do that by default. It's just a few cases were unboxing is bad but
there it increases allocations and makes up for about 5% of total mutator
time. (That's why NOUNPACK would be so helpful because we then can use
strict fields with -funbox-strict-fields and explicitly define where we
want to keep the strict fields boxed.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2338#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs