public class IntBasedBitPackingGenerator
extends Object
Scheme designed by D. Lemire
This is a re-implementation of The scheme released under Apache License Version 2.0
at https://github.com/lemire/JavaFastPFOR/blob/master/src/integercompression/BitPacking.java
It generate two classes:
- LemireBitPackingLE, the original scheme, filling the LSB first
- LemireBitPackingBE, the scheme modified to fill the MSB first (and match our existing bit packing)
The result of the generation is checked in. To regenerate the code run this class and check in the result.
The generated classes pack the values into arrays of ints (as opposed to arrays of bytes) based on a given bit width.
Note: This is not really used for now as the hadoop API does not really let write int[]. We need to revisit this
- Author:
- Julien Le Dem