presto-spi/src/main/java/io/prestosql/spi/block/IntArrayBlock.java/IntArrayBlock/getPositionsSizeInBytes
class IntArrayBlock:    @Override
    public long getPositionsSizeInBytes(boolean[] positions)
    {
        return (Integer.BYTES + Byte.BYTES) * (long) countUsedPositions(positions);
    }