mozilla/rust — pull request #11061 by huonw (2013-12-19 03:00:30+00:00)
Title: Use a small amount of unsafe code to optimise vec.remove & .insert

Before:

```
test vec::bench::random_inserts ... bench: 15025 ns/iter (+/- 409)
test vec::bench::random_removes ... bench: 16063 ns/iter (+/- 276)
```

After:

```
test vec::bench::random_inserts ... bench: 5257 ns/iter (+/- 321)
test vec::bench::random_removes ... bench: 4980 ns/iter (+/- 94)
```