Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-896

QName.toString() should use StringBuffer concat to improve perf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4
    • None
    • Other
    • None
    • Operating System: All
      Platform: All
    • 7058

    Description

      Using StringBuffer's in toString method will improve performance of this method

      i.e.
      StringBuffer sBuffer = new StringBuffer(256);
      sBuffer.append("

      {").append(_namespaceURI).append("}

      ").append_localName);
      return sBuffer.toString();

      Attachments

        Activity

          People

            Unassigned Unassigned
            darmlin@silverstream.com Dave Armlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: