Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6935738

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 1.4.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.4
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: