On 08/13/2011 12:47 PM, Marijn Haverbeke wrote:
Where bailing out means it simply allocates more memory and doesn't collect anything? I can imaging a long-running computation inside some generic function 'leaking' until it runs out of memory.
Yup, it can definitely leak. We need to solve this problem for real at some point.
Does every generic have a dynamically sized frame or only those who create locals of parameterized variables?
Only the latter. We'd need to add an analysis pass that determines whether the frame is dynamically-sized.
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
