Class InlinedHeadPackedTailPacker


  • public final class InlinedHeadPackedTailPacker
    extends java.lang.Object
    Compresses values in blocks of AdjacencyPacking.BLOCK_SIZE using bit-packing.

    This strategy compressed the first (usually largest) value separately from the rest of the values and leaves a 0-value in at the first index. It uses var-length encoding and writes the encoded value after the header, preceding the data.

    If a block to compress has less than AdjacencyPacking.BLOCK_SIZE values, this strategy uses a loop-based packing approach to compress the values in that block.