SparseVector now supports multisets (sorted integer vectors with duplicate values). They can be built with SparseBuilder::multiset or with SparseVector::try_from_iter. Operations over all bits and set bits work but rank_zero does not. This is similar to the multiset sd_vector in the vgteam fork of SDSL.
Also, because there was some confusion between vector elements and serialization elements, Element trait became Vector and vectors now have items instead of elements.
SparseVector
now supports multisets (sorted integer vectors with duplicate values). They can be built withSparseBuilder::multiset
or withSparseVector::try_from_iter
. Operations over all bits and set bits work butrank_zero
does not. This is similar to the multisetsd_vector
in the vgteam fork of SDSL.Also, because there was some confusion between vector elements and serialization elements,
Element
trait becameVector
and vectors now have items instead of elements.