12 Dec 21:48
Re: newtypes and optimization
Don Stewart <dons <at> galois.com>
2007-12-12 20:48:43 GMT
2007-12-12 20:48:43 GMT
stefanor: > 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 > work) > > 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. > > Stefan Yeah, this sounds like maybe a bug, or maybe something wrong. We need to investigate! An example please. -- Don
RSS Feed