Skip to content

Releases: servo/rust-smallvec

v0.4.1

29 Jun 01:14
Compare
Choose a tag to compare

New features:

  • no_std support (#49).
  • SmallVec<[u8; N]> implements the Write trait (#52).
  • Add an ExtendFromSlice trait for both Vec and SmallVec (#54).

v0.4.0

20 Jun 22:54
Compare
Choose a tag to compare
  • Update to heapsize 0.4 [breaking change if the optional "heapsize" feature is enabled].

v0.3.3

25 Apr 23:50
Compare
Choose a tag to compare
  • New:
    • SmallVec::from_vec creates a SmallVec from a Vec without cloning or re-allocating (#48).

v0.3.2: Auto merge of #43 - mbrubeck:uninit, r=jdm

23 Mar 17:31
Compare
Choose a tag to compare
  • New SmallVec methods:
    • insert_many (#28)
    • extend_from_slice and insert_from_slice (#29)
    • from_slice (#42)
    • into_vec (#45)
  • Integration:
  • Performance improvement:
    • Don't zero memory on initialization (#43).

v0.3.1: Auto merge of #40 - mbrubeck:docs, r=Ms2ger

23 Mar 17:39
Compare
Choose a tag to compare
  • New:
    • SmallVec implements the Default trait (#30).
  • Deprecated:
    • push_all_move (use extend instead)
    • type aliases (e.g. SmallVec2). Use SmallVec<A>' instead (e.g. SmallVec<[T; 2]>`)
  • Removed:
    • VecLike::len (use the inherent len slice method instead) [breaking change] (#38).
  • Bug fixes:
    • Fixed a memory safety hazard in grow (#40).
  • Performance improvements:
    • shrink_to_fit will move data to the stack when possible (#40).
  • Improved:
    • More documentation, more tests, more benchmarks, and misc. code cleanup.

There is no version 0.3.0. This version was published as 0.3.1 instead of 0.3.0 by accident.

v0.2.0

23 Mar 17:43
Compare
Choose a tag to compare
  • New:
    • SmallVec implements the following traits: AsRef, AsMut, Borrow, BorrowMut, Extend, IntoIter, Hash. (#26)
    • The iterators implement DoubleEndedIterator and ExactSizeIterator (#26).
    • VecLike requires the Extend trait [breaking change] (#27).