JAXP issue 61 : Perf. optimization for QName.equals(...)

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 7
    • Component/s: xml
    • 1.4
    • generic
    • generic
    • Verified

        Current implementation of QName.equals(...) is correct but can be made faster by:
        1) comparing objectToTest with this

        2) changing the order of the compare of namespace and localpart. Since the
        localpart of a FQ-name changes more frequently then the namespace we can gain
        performance by changing this order.

              Assignee:
              Joe Wang
              Reporter:
              Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: