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 "David Costanzo (JIRA)" <xe...@xml.apache.org> on 2016/06/17 13:54:05 UTC
[jira] [Updated] (XERCESJ-1617) Minor optomization for
NodeImpl.lookupNamespaceURI(String)
[ 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org