darcs patch: Replace FastInt with unpacked/newtyped Int

Ian Lynagh igloo at earth.li
Wed Feb 13 17:01:22 EST 2008


Hi Twan,

Thanks for the patches, and for checking the perofrmance implications!

On Mon, Feb 04, 2008 at 04:10:29AM +0100, Twan van Laarhoven wrote:
> 
> When also trying to change the FastInt in Var to an unpacked Unique I ran 
> into a bug (#2070); The record selector realUnique will not be optimized at 
> all.

This part is now fixed, as Simon said.

> Again, I don't know what this will do for performance, but it doesn't look 
> like an improvement.

This problem still remains. I've filed a bug here:
http://hackage.haskell.org/trac/ghc/ticket/2092

I'm not sure if I should apply the patch before this has been
investigated.


Thanks
Ian



More information about the Cvs-ghc mailing list