- Optimise the creation of a sparsevec: when used, for example, for grmtools' grammars, this can be a substantial (e.g. in one example over 30x) speedup.
- Move the backing storage (consisting of
PackedVec
s andVob
s) fromusize
tou64
. This makes serialising/deserialising across machine widths possible (though not necessarily reliable!).
- Upgrade dependencies.
- Allow
SparseVec
s to be printed with the debug formatter{:?}
.
- 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).
-
Make
rand
adev-dependency
to cut compile times down. -
Migrate to Rust 2018.
-
Minor code improvements, including functions now accepting
&[T]
slices rather than&Vec<T>
vectors, making the API a little more flexible to use.
Initial release.