Packed integer arrays and streams.

The packed package provides

The implementations provide different trade-offs between memory usage and access speed. The standard usage scenario is replacing large int or long arrays in order to reduce the memory footprint.

The main access point is the {@link org.apache.lucene.util.packed.PackedInts} factory.

In-memory structures

Disk-based structures