Skip to content

Commit

Permalink
Better doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Aug 23, 2018
1 parent 8ef9b70 commit a0300f2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,13 @@ Technical posts
* [Stream VByte: breaking new speed records for integer compression](https://lemire.me/blog/2017/09/27/stream-vbyte-breaking-new-speed-records-for-integer-compression/) by Daniel Lemire


Generating the shuffling masks
Alternative encoding
-------------------------------

The code relies on "magical" shuffling masks to quicly reorder bytes. Most users and programmers do not need to worry about them, but if you need to regenerate them, you can do so as follows:

```
make shuffle_tables
./shuffle_tables
```
By default, Stream VByte uses 1, 2, 3 or 4 bytes per integer.
In the case where you expect many of your integers to be zero, you might try
the ``streamvbyte_encode_0124`` and ``streamvbyte_decode_0124`` which use
0, 1, 2, or 4 bytes per integer.


Stream VByte in other languages
Expand Down

0 comments on commit a0300f2

Please sign in to comment.