vbyte

variable length integer compression

1 unstable release

0.1.0 Nov 28, 2022

#582 in Compression

Download history 23/week @ 2024-07-19 29/week @ 2024-07-26 54/week @ 2024-08-02 195/week @ 2024-08-09 50/week @ 2024-08-16 25/week @ 2024-08-23 57/week @ 2024-08-30 29/week @ 2024-09-06 9/week @ 2024-09-13 22/week @ 2024-09-20 18/week @ 2024-09-27 7/week @ 2024-10-04 22/week @ 2024-10-11 29/week @ 2024-10-18 104/week @ 2024-10-25 41/week @ 2024-11-01

196 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

7KB
165 lines

vbyte-compression

compression of single integers to variable sized lengths Employs nullsupression.

Implementation

This implementation uses 7 bits of each byte to store data and the last bit is used to store wether or not the integer continues afterwards.

No runtime deps