Summary: | Huge performance problems | ||
---|---|---|---|
Product: | POI | Reporter: | Jens Klinker <jens.klinker> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Jens Klinker
2008-07-10 05:11:03 UTC
I´ve changed this: short lastCol=row.getLastCellNum(); to this: int lastCol = row.getPhysicalNumberOfCells(); now, I need 2 secs! instead of 1 min! Your proposed fix using physical number of cells won't work for cases where there are gaps in the row, with not all cells being defined. I've made some changes to HSSFSheet.shiftRows, committed to svn trunk. These should hopefully speed the method up, whilst ensuring that everything that needs to be moved is. Hopefully this does what you need? |