Merge "Cache MemoryIntArray size" into main