Re: boxed FastTypes

2008-01-04 Thread Isaac Dupree
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

Re: boxed FastTypes

2008-01-04 Thread Ian Lynagh
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#

boxed FastTypes

2008-01-03 Thread Isaac Dupree
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