presto-spi/src/main/java/io/prestosql/spi/block/ArrayBlock.java/ArrayBlock/calculateSize
class ArrayBlock:    private void calculateSize()
    {
        int valueStart = offsets[arrayOffset];
        int valueEnd = offsets[arrayOffset + positionCount];
        sizeInBytes = values.getRegionSizeInBytes(valueStart, valueEnd - valueStart) + getBaseSizeInBytes();
    }