On 11/16/13 8:59 AM, spir wrote: > Hello, > > say a function defines 4 pointed elements of data. Depending on logical > conditions, one of them escapes the func to be assigned to some world > variable (static or on heap), while another is returned. How does Rust > determine which of those data are to be freed? Seems this can only be > done dynamically, at runtime, or do I miss a relevant point? Is there a > cheap algo to do this? > (Also, those elements of data can be arbitrarily complex, and hold other > pointed data which themselves may be placed there conditionally.) > > Thank you, > denis > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > . >
Denis, Can you provide a code example? I'm not sure I entirely follow your meaning. -- Regards, Paul
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
