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

#309 in Parser implementations

Download history 58806/week @ 2024-08-07 58243/week @ 2024-08-14 56856/week @ 2024-08-21 57283/week @ 2024-08-28 61922/week @ 2024-09-04 69214/week @ 2024-09-11 66136/week @ 2024-09-18 74687/week @ 2024-09-25 74696/week @ 2024-10-02 78162/week @ 2024-10-09 81200/week @ 2024-10-16 77250/week @ 2024-10-23 84322/week @ 2024-10-30 87711/week @ 2024-11-06 89701/week @ 2024-11-13 98938/week @ 2024-11-20

375,620 downloads per month
Used in 163 crates (31 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

~280–790KB
~19K SLoC