compactIDs

fun compactIDs(states: Array<ElementType>, version: SupportedVersion = SupportedVersion.Latest, minimumBitSize: Int = 1): ImmutableLongArray

Produces a long array with the compacted IDs based on this palette. Bit length is selected on the size of this palette (ceil(log2(size))), ID correspond to the index inside this palette