A Vec That Has a Smaller size_of
177
stars
205
commits
Rust
primary language
Jul 26, 2026
updated
ThinVec is a Vec that stores its length and capacity inline, making it take up less space.
Currently this crate mostly exists to facilitate Gecko (Firefox) FFI, but it works perfectly fine as a native Rust library as well.
(top 30 of 33)
82 commits
22 commits
18 commits
16 commits
servo/rust-smallvec
"Small vector" optimization for Rust: store up to a small number of items on the stack
1,724
backtracking/vector
16
typst/ecow
Compact, clone-on-write vector and string.
319
petgraph/fixedbitset
A simple bitset container for Rust
172
fitzgen/bumpalo
A fast bump allocation arena for Rust
2,325
bodil/bitmaps
Bitmap types for Rust
59
fizyk20/generic-array
Generic array types in Rust
437
linebender/tiny-skia
A tiny Skia subset ported to Rust
1,634
100.0%