/thin-vec

A Vec That Has a Smaller size_of

Primary LanguageRustApache License 2.0Apache-2.0

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.