The following bugzilla wtih CTComment is a case: https://issues.apache.org/bugzilla/show_bug.cgi?id=49432
> Actually, all calls of kind xmlbean.getXXXArray() are deprecated in favor of > xmlbean.getXXXList(). > I'm fine with using ooxml-schemas-1.1.jar and JDK 1.5 syntax but we should > adjust our codebase and test-drive it for at least one month before cutting > release. > Another point is the recent research performed by Bruce Alcock > ([email protected]) - improper calls of setXXXArray() can > significatnly affect performance. I made a number of improvements in > XSSFSheet and XSSFRow and would like to research performance of setXXXList() > vs setXXXArray() . Until I do it, I would rather abstain from switching to > ooxml-schemas-1.1.jar. Bruce has communicated with the XMLBeans project and they are not likely to make changes. Some of the code I have seen actually does insertion using the worst case of algorithm of going through every element in a LIST to add to the end. I suspect getXXXList to be this bad actor. Regards, Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
