On 8 November 2013 18:35, Patrick Walton <[email protected]> wrote: > But Daniel did some performance measurements and found that this had > suboptimal performance characteristics when compared to: > > struct ~str { > char *ptr; > int size; > int cap; > } > > So we're changing to the latter.
Does this mean that when ~str is passed as a parameter the compiler copies 3 words and that makes things faster? _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
