Debian Codegraph @

.cargo/vendor/aligned-vec/README.md

raw
1 # aligned-vec
2
3 This crate provides the `AVec<T>` and `ABox<T>` types, which are intended to have a similar API
4 to `Vec<T>` and `Box<T>`, but align the data they contain to a runtime alignment value.
5
6 This is useful for situations where the alignment of the data matters, such as when working with
7 numerical data that can get performance benefits from being aligned to a SIMD-compatible memory address.
8
9 # Features
10
11 - `std` (default feature): Links this crate to the `std-crate` instead of the `core-crate`.
12 - `serde`: Implements serialization and deserialization features for `ABox` and `AVec`.