Hello Vasili,

Thursday, August 7, 2008, 9:13:43 AM, you wrote:

>     What is the lifetime of various heap objects ... e.g. created by 
> allocaBytes, alloca, etc?

alloca/allocaBytes just mimicks stack allocation but actually allocates
buffer in usual heap. this buffer lives while references to it exists

on practice, it's usually gc'ed by next minor GC

-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to