/thin-vec

A Vec That Has a Smaller size_of

Primary LanguageRust

Rust CI crates.io

thin-vec

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.