Le 23/05/2012 15:52, Steven Schveighoffer a écrit :
What if memory is tight, and the only way to get memory for this new
allocation is to collect from the main heap? This seems an odd
limitation, since strong-pure functions would not be affected by
collecting in the main heap *at all*.

-Steve

It is up to the GC to collect memory when it is tight. This operation isn't and shouldn't be pure.

It can eventually be called within the allocation mecanism.

Reply via email to