Originally Posted by merlight
Local variables may only exist in registers (i.e. cost virtually nothing) as long as they're not used in any closure. Once you create a closure, they HAVE to be moved to dynamically allocated memory, because the closure typically outlives the block it has been created in.
|
whow thanks.
as soon as my head get rif of this picture, it should be way more clear.