Crate small_fixed_array

source ·
Expand description

A crate for FixedArray and FixedString, types to provide a smaller memory footprint in exchange for:

These types provide cheap conversions to Vec and String, to make up for most of these downsides, but it is still not recommended to use these collections for mutated values as you will see a performance downside.

These can be thought of as Box<[T]> and Box<str>, except the length is denoted as LenT, by default u32.

§Features

§MSRV

The Minimum Supported Rust Version of this crate is 1.70.

It is considered a breaking change to raise this.

Structs§

Traits§