newtypes and optimization

Stefan O'Rear stefanor at cox.net
Wed Dec 12 15:41:33 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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071212/aac9d137/attachment.bin


More information about the Glasgow-haskell-users mailing list