Many reader.getProperty() calls for each text element in StAXBuilder causes
performance down.
---------------------------------------------------------------------------------------------
Key: WSCOMMONS-300
URL: https://issues.apache.org/jira/browse/WSCOMMONS-300
Project: WS-Commons
Issue Type: Improvement
Components: AXIOM
Environment: Windows
Reporter: Takahide Nogayama
When I read XML document which has too many text elements, I found performance
down. I think the reader.getProperty("IsDataHandlerAware") call for each text
element is one of the overhead for this case.
My question is "Should we really ask the property for each text element?"
If answer is No, then StAXBuilder can cache the property to avoid many
getProperty calls. I will post a patch file to solve this performance issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]