rust-smallvec
https://github.com/servo/rust-smallvec
Rust
"Small vector" optimization for Rust: store up to a small number of items on the stack
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported0 Subscribers
Add a CodeTriage badge to rust-smallvec
Help out
- Issues
- Store arbitrary types on `[u8; N]`?
- Alternate layout with more space for small inline elements?
- Ergonomic way to specify the maximum "for free" capacity (i.e., leverage padding)?
- Make `SmallVec::new` const
- SmallVec<[u8; 16]>::clone is not optimized to a memcpy
- u32 capacity and length?
- Add a `RawSmallVec` type
- Support parametric allocators
- SmallVecDeque — small vector optimization for a ring buffer
- dumb_sort
- Docs
- Rust not yet supported