Class NewPFDS9

java.lang.Object
me.lemire.integercompression.NewPFDS9
All Implemented Interfaces:
IntegerCODEC, SkippableIntegerCODEC

public final class NewPFDS9 extends Object implements IntegerCODEC, SkippableIntegerCODEC
NewPFD/NewPFOR based on Simple9 by Yan et al.

Follows:

H. Yan, S. Ding, T. Suel, Inverted index compression and query processing with optimized document ordering, in: WWW 09, 2009, pp. 401-410.

using Simple9 as the secondary coder. It encodes integers in blocks of 128 integers. For arrays containing an arbitrary number of integers, you should use it in conjunction with another CODEC:
IntegerCODEC ic = new Composition(new PDFS9(), new VariableByte()).
Note that this does not use differential coding: if you are working on sorted lists, you must compute the deltas separately. For multi-threaded applications, each thread should use its own NewPFDS9 object.
Author:
Daniel Lemire