Ian Lynagh wrote:
On Thu, Jan 03, 2008 at 07:07:56AM -0500, Isaac Dupree wrote:
even have memory leaks. To partially remedy this, What if in data types
everywhere
data Foo = Foo FastInt
becomes
data Foo = Foo !FastInt
(the strictness annotation simply has no additional effect when FastInt
= I
On Thu, Jan 03, 2008 at 07:07:56AM -0500, Isaac Dupree wrote:
>
> even have memory leaks. To partially remedy this, What if in data types
> everywhere
> data Foo = Foo FastInt
> becomes
> data Foo = Foo !FastInt
> (the strictness annotation simply has no additional effect when FastInt
> = Int#
while it isn't really relevant to the ghc porting work itself...
For compilers in which FastInt = Int, _there is less strictness_ because
of special treatment of unboxed types. Therefore it may be slower or
even have memory leaks. To partially remedy this, What if in data types
everywhere
d