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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 1.4.0
    • 7
    • xml
    • 1.4
    • generic
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: