On Mon, 4 Dec 2000, Simon Marlow wrote:

> Thread stacks fall into the category of "large objects" in GHC's storage
> manager, and therefore aren't normally moved.  However, they have to be
> able to grow on demand, so we occasionally have to relocate them.

Maybe the storage for use by alloca could be allocated as a linked list of
large memory blocks. It should still make use of efficient stack-like
allocation within the block.

> because I recon eliminating the exception handler is more important than
> speeding up the actual malloc/free.

Hmm...

-- 
Marcin 'Qrczak' Kowalczyk


_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to