8 releases

0.4.0 Sep 24, 2020
0.3.1 Sep 24, 2020
0.3.0 Nov 18, 2017
0.2.0 Oct 19, 2016
0.1.3 Aug 29, 2015

#1857 in Algorithms

MIT license

33KB
901 lines

stack

travis-badge release-badge docs-badge license-badge

Implements dynamically sized types over stack allocated arrays.

  • The Vector trait exposes a generic trait for Vec-like operations.
  • ArrayVec implements a Vector interface over a fixed-size array.
  • SmallVec abstracts over a stack allocated ArrayVec, and falls back to a heap Vec upon overflow.
  • SmallDST holds a DST such as a closure or other types in a Vector.

Dependencies