You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Chris Simmons (JIRA)" <xe...@xml.apache.org> on 2013/07/12 11:35:48 UTC

[jira] [Created] (XERCESJ-1617) Minor optomization for NodeImpl.lookupNamespaceURI(String)

Chris Simmons created XERCESJ-1617:
--------------------------------------

             Summary: Minor optomization for NodeImpl.lookupNamespaceURI(String)
                 Key: XERCESJ-1617
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1617
             Project: Xerces2-J
          Issue Type: Bug
          Components: DOM (Level 2 Events)
    Affects Versions: 2.11.0
            Reporter: Chris Simmons
            Priority: Trivial


NodeImpl.lookupNamespaceURI calls getPrefix() on all attributes which results in lots of pointless object allocations.  Simply pushing the calls inside the guard will avoid this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org