- Move from (the unmaintained)
bincodetowincode. The associated feature name has also been renamed towincode.
- Add an optional bincode dependency, which can be used as an alternative to serde for encoding / decoding.
- Fix bug where a negative minimum value could lead to integer overflow.
PackedVecnow implementsClone.
- License as dual Apache-2.0/MIT (instead of a more complex, and little understood, triple license of Apache-2.0/MIT/UPL-1.0).
- Add
is_emptyfunction to better match expectations fromVec.
- Add an unsafe
get_uncheckedfunction. In the best case (a linear scan through a PackedVec), this is roughly 10% faster thanget. Fortuitously,iter()hits this best case naturally, and thus is roughly 10% faster than previously.
- Add
bwidthfunction. - Add
Eq,PartialEq, andHashimplementations forPackedVec.
First stable release.