/** * Compute the number of iterations required to decode <code>BLOCK_SIZE</code> * values with the provided {@link Decoder}. */ private static int computeIterations(PackedInts.Decoder decoder) { return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount()); }