bors-servo 56ef5244b2 Auto merge of #43 - mbrubeck:uninit, r=jdm
Don't zero the array on initialization

Using `mem::uninitialized` is potentially faster than `mem::zeroed`, and doesn't remove any safety (since both uninitialized memory and zeroed memory are unsafe to read from in general).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/43)
<!-- Reviewable:end -->
2017-03-22 14:41:01 -07:00
2017-03-14 12:10:18 -07:00
2017-03-22 14:32:38 -07:00
2015-06-06 16:47:23 -04:00

rust-smallvec

Documentation

"Small vector" optimization for Rust: store up to a small number of items on the stack

S
Description
对于小的vector,存储在栈上以优化性能表现
Readme 1.1 MiB
Languages
Rust 98.8%
Shell 1.2%