newtypes and optimization
dons at galois.com
Wed Dec 12 15:48:43 EST 2007
> On Wed, Dec 12, 2007 at 11:02:15AM -0700, Scott Dillard wrote:
> > with strictness annotations and INLINEs for everything. I also tried automatic
> > newtype deriving, with no luck. Why does a newtype defeat so much of the
> > optimization?
> > Thanks,
> > Scott
> (Not a GHC developer, but someone fairly familiar with how the Simons
> What version of GHC are you using? The implementation of newtypes was
> completely redone in the 6.7.x period.
> Do you have a fairly small complete working example? If so, link to or
> attach a tarball - will make their jobs much easier.
Yeah, this sounds like maybe a bug, or maybe something wrong. We need to
investigate! An example please.
More information about the Glasgow-haskell-users