There is a cache, essentially. Check out:
https://poi.apache.org/apidocs/org/apache/poi/hssf/record/aggregates/MergedCellsTable.html
There is a cache, essentially. Check out:
https://poi.apache.org/apidocs/org/apache/poi/hssf/record/aggregates/MergedCellsTable.html