[Haskell] memory management

Simon Marlow marlowsd at gmail.com
Tue Aug 4 09:49:40 EDT 2009


On 04/08/2009 13:33, Sam Martin wrote:
>> Sounds like region inference to me.
>> (https://secure.wikimedia.org/wikipedia/en/wiki/Region_inference)
>
> Thanks, yes, that's exactly what I had in mind.
>
> Is anything like this is done in GHC?

Not at the moment, no.

Bear in mind that with generational GC, allocating memory that quickly 
becomes garbage is quite cheap.

Cheers,
	Simon


More information about the Haskell mailing list