Files
rust/src/libstd
bors f39ba69aaa auto merge of #13539 : Aatch/rust/vector-copy-faster, r=thestinger
LLVM wasn't recognising the loops as memcpy loops and was therefore failing to optimise them properly. While improving LLVM is the "proper" way to fix this, I think that these cases are important enough to warrant a little low-level optimisation.

Fixes #13472 

r? @thestinger 

---

Benchmark Results:

```
--- Before ---
test clone_owned          ... bench:   6126104 ns/iter (+/- 285962) = 170 MB/s
test clone_owned_to_owned ... bench:   6125054 ns/iter (+/- 271197) = 170 MB/s
test clone_str            ... bench:     80586 ns/iter (+/- 11489) = 13011 MB/s
test clone_vec            ... bench:   3903220 ns/iter (+/- 658556) = 268 MB/s
test test_memcpy          ... bench:     69401 ns/iter (+/- 2168) = 15108 MB/s

--- After ---
test clone_owned          ... bench:     70839 ns/iter (+/- 4931) = 14801 MB/s
test clone_owned_to_owned ... bench:     70286 ns/iter (+/- 4836) = 14918 MB/s
test clone_str            ... bench:     78519 ns/iter (+/- 5511) = 13353 MB/s
test clone_vec            ... bench:     71415 ns/iter (+/- 1999) = 14682 MB/s
test test_memcpy          ... bench:     70980 ns/iter (+/- 2126) = 14772 MB/s
```
2014-04-16 03:36:27 -07:00
..
2014-04-15 15:57:04 -07:00
2014-04-12 22:51:18 +10:00
2014-04-15 19:47:03 -07:00
2014-04-11 17:31:13 +08:00
2014-04-02 15:56:31 -07:00
2014-04-08 00:03:11 -07:00
2014-04-10 15:21:59 -07:00
2014-04-11 15:20:18 -07:00
2014-03-31 15:17:12 -07:00
2014-04-08 00:03:11 -07:00
2014-04-11 17:31:13 +08:00
2014-04-03 20:28:59 -07:00
2014-04-15 19:47:03 -07:00
2014-04-08 00:03:11 -07:00
2014-03-31 15:17:12 -07:00
2014-03-31 15:17:12 -07:00
2014-04-06 14:05:32 +03:00
2014-04-04 09:31:21 -07:00
2014-04-11 15:20:15 -07:00