vigna / sux

Succinct data structures in C/C++
Other
82 stars 17 forks source link

Actually return bits in getBits method #12

Closed ByteHamster closed 2 years ago

ByteHamster commented 2 years ago

RiceBitVector.Builder.getBits returns the number of bits used by the data structure but RiceBitVector.getBits returns the number of bytes used by the data structure. Fixed RiceBitVector.getBits, so it actually returns bits.