10 releases (5 breaking)

0.6.1 Jul 18, 2024
0.6.0 May 21, 2024
0.5.0 Aug 21, 2022
0.4.2 Jul 29, 2022
0.1.0 Jul 24, 2022

#301 in Parser implementations

Download history 52218/week @ 2024-07-20 50851/week @ 2024-07-27 53191/week @ 2024-08-03 60593/week @ 2024-08-10 56986/week @ 2024-08-17 57819/week @ 2024-08-24 58165/week @ 2024-08-31 65792/week @ 2024-09-07 66364/week @ 2024-09-14 74475/week @ 2024-09-21 71606/week @ 2024-09-28 77246/week @ 2024-10-05 79008/week @ 2024-10-12 78139/week @ 2024-10-19 80972/week @ 2024-10-26 75114/week @ 2024-11-02

324,366 downloads per month
Used in 143 crates (26 directly)

MIT license

56KB
1.5K SLoC

aligned-vec

This crate provides the AVec<T> and ABox<T> types, which are intended to have a similar API to Vec<T> and Box<T>, but align the data they contain to a runtime alignment value.

This is useful for situations where the alignment of the data matters, such as when working with numerical data that can get performance benefits from being aligned to a SIMD-compatible memory address.

Features

  • std (default feature): Links this crate to the std-crate instead of the core-crate.
  • serde: Implements serialization and deserialization features for ABox and AVec.

lib.rs:

aligned-vec

This crate provides the AVec<T> and ABox<T> types, which are intended to have a similar API to Vec<T> and Box<T>, but align the data they contain to a runtime alignment value.

This is useful for situations where the alignment of the data matters, such as when working with numerical data that can get performance benefits from being aligned to a SIMD-compatible memory address.

Features

  • std (default feature): Links this crate to the std-crate instead of the core-crate.
  • serde: Implements serialization and deserialization features for ABox and AVec.

Dependencies

~0.3–0.8MB
~19K SLoC