Class LongBinaryPacking

java.lang.Object
me.lemire.longcompression.LongBinaryPacking
All Implemented Interfaces:
LongCODEC, SkippableLongCODEC

public final class LongBinaryPacking extends Object implements LongCODEC, SkippableLongCODEC
Scheme based on a commonly used idea: can be extremely fast. It encodes integers in blocks of 64 longs. For arrays containing an arbitrary number of longs, you should use it in conjunction with another CODEC:
LongCODEC ic = 
  new Composition(new LongBinaryPacking(), new LongVariableByte()).
Note that this does not use differential coding: if you are working on sorted lists, you must compute the deltas separately.

For details, please see BinaryPacking

Author:
Benoit Lacelle