4 Dec
2000
4 Dec
'00
7:37 p.m.
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