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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 7
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: