https://bz.apache.org/bugzilla/show_bug.cgi?id=60397

Javen O'Neal <one...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Javen O'Neal <one...@apache.org> ---
Because merged regions cannot overlap without producing a corrupt document, POI
may be checking the list of merged regions on a sheet for potential
intersections before adding a merged region. This gives O(N) behavior for
adding one region instead of the expected O(1).

For XSSF and SXSSF, we added addMergedRegionUnsafe [1] that skips these checks
for speed, but may produce a corrupt document when opened in Excel. Have you
tried addMergedRegionUnsafe?

[1]
https://poi.apache.org/apidocs/org/apache/poi/xssf/streaming/SXSSFSheet.html#addMergedRegionUnsafe(org.apache.poi.ss.util.CellRangeAddress)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to