- Fix bug where a negative minimum value could lead to integer overflow.
PackedVec
now 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_empty
function to better match expectations fromVec
.
- Add an unsafe
get_unchecked
function. 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
bwidth
function. - Add
Eq
,PartialEq
, andHash
implementations forPackedVec
.
First stable release.