[Haskell] memory management

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Aug 4 12:14:26 EDT 2009

Hello Sigbjorn,

Tuesday, August 4, 2009, 6:11:09 PM, you wrote:

> this using the type system, if you so wish..) I don't know if the GHC
> RTS still(?) provides hooks for allocating "alloca" objects specially.

it's allocated as usual object, these are cheap anyway as far as it
freed before minor GC occurs (which is called after each 512kb
allocated, by default)

afair, jhc uses region inference

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell mailing list