jaxp
  1. jaxp
  2. JAXP-61

Perf. optimization for QName.equals(...)

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      61

      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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: