[ 
https://issues.apache.org/jira/browse/XERCESJ-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Costanzo updated XERCESJ-1617:
------------------------------------
    Fix Version/s: 2.12.0

> Minor optomization for NodeImpl.lookupNamespaceURI(String)
> ----------------------------------------------------------
>
>                 Key: XERCESJ-1617
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1617
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: DOM (Level 2 Events)
>    Affects Versions: 2.11.0
>            Reporter: Chris Simmons
>            Assignee: Michael Glavassevich
>            Priority: Trivial
>              Labels: patch
>             Fix For: 2.12.0
>
>         Attachments: namespaceuri.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to