[rust-dev] Newbie questions about memory management
lucian.branescu at gmail.com
Sun Dec 30 13:26:17 PST 2012
Ah, good point. I guess it just seems I'd be likely to not figure out why a
programme gets slower when I add a let.
On 30 Dec 2012 20:58, "Patrick Walton" <pwalton at mozilla.com> wrote:
> On 12/30/12 12:56 PM, Lucian Branescu wrote:
>> Would it be possible to have a more general mechanism for creating and
>> relinquishing objects? The rvalue trick seems obscure and only
>> situationally useful.
> Broadly speaking, that's what "move" is for. Did you want something beyond
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev