Only if you SROA and inline the constructor, I think.

comex <com...@gmail.com> wrote:
>On Mon, Dec 2, 2013 at 2:33 PM, Patrick Walton <pwal...@mozilla.com>
>wrote:
>> That would require an unnecessary move. It needs to be built into the
>> language.
>
>Devil's advocate - aren't such unnecessary moves really easy for LLVM
>to optimize?

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to