[rust-dev] Optimizing pattern bindings to not copy anything at runtime

Patrick Walton pcwalton at mozilla.com
Wed Apr 23 23:22:07 PDT 2014


On 4/23/14 7:09 PM, Niko Matsakis wrote:
> If we just made y a pointer to x, we'd be in trouble.

Well, not if the mutation to x is also done by making it a pointer to 
the scratch space occupied by `something_else()`.

Patrick



More information about the Rust-dev mailing list